diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-04-27 21:15:54 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-10 13:10:23 -0700 |
commit | aa723a2659d416c5f7f5de8da32bcd24c3ee7626 (patch) | |
tree | 766a21993dd8643bcf0a339732455b07b9e7fc9d /builtin/patch-id.c | |
parent | 8f2514e95fe142954d1dd4408cc7cb413a275844 (diff) | |
download | git-mt/patch-id-stable.tar.gz |
patch-id: change default to stablemt/patch-id-stable
Change the default to "--stable" that so that users don't have to
remember to enable it. Update documentation and test to match.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/patch-id.c')
-rw-r--r-- | builtin/patch-id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/patch-id.c b/builtin/patch-id.c index 77db8739b5..e11a6a77dc 100644 --- a/builtin/patch-id.c +++ b/builtin/patch-id.c @@ -185,9 +185,9 @@ int cmd_patch_id(int argc, const char **argv, const char *prefix) git_config(git_patch_id_config, &stable); - /* If nothing is set, default to unstable. */ + /* If nothing is set, default to stable. */ if (stable < 0) - stable = 0; + stable = 1; if (argc == 2 && !strcmp(argv[1], "--stable")) stable = 1; |