diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-08-18 12:28:58 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-18 12:28:58 -0700 |
commit | 226d06c16bcafda3417163437be9845130fd4998 (patch) | |
tree | cccf5515162f65b6829d94d33bf381b4cfee2fa1 /builtin/checkout.c | |
parent | fdfdde58faf93551abea0f92f7688c1dc5de59be (diff) | |
parent | 7f1592db5d4cba2b3de3a1ce46eb8c05bd33e0a1 (diff) | |
download | git-226d06c16bcafda3417163437be9845130fd4998.tar.gz |
Merge branch 'jn/fix-abbrev'
* jn/fix-abbrev:
examples/commit: use --abbrev for commit summary
checkout, commit: remove confusing assignments to rev.abbrev
archive: abbreviate substituted commit ids again
Diffstat (limited to 'builtin/checkout.c')
-rw-r--r-- | builtin/checkout.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c index 4ad74270cf..1f7e1546f6 100644 --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -283,7 +283,6 @@ static void show_local_changes(struct object *head) struct rev_info rev; /* I think we want full paths, even if we're in a subdirectory. */ init_revisions(&rev, NULL); - rev.abbrev = 0; rev.diffopt.output_format |= DIFF_FORMAT_NAME_STATUS; if (diff_setup_done(&rev.diffopt) < 0) die("diff_setup_done failed"); |