summaryrefslogtreecommitdiff
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-08-18 19:28:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-08-18 19:28:58 (GMT)
commit226d06c16bcafda3417163437be9845130fd4998 (patch)
treecccf5515162f65b6829d94d33bf381b4cfee2fa1 /builtin/checkout.c
parentfdfdde58faf93551abea0f92f7688c1dc5de59be (diff)
parent7f1592db5d4cba2b3de3a1ce46eb8c05bd33e0a1 (diff)
downloadgit-226d06c16bcafda3417163437be9845130fd4998.zip
git-226d06c16bcafda3417163437be9845130fd4998.tar.gz
git-226d06c16bcafda3417163437be9845130fd4998.tar.bz2
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c
index 4ad7427..1f7e154 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");