summaryrefslogtreecommitdiff
path: root/diff-tree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-14 22:19:38 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-14 22:42:31 -0700
commit8e8f998739db6526fe890fabc88c866759bc2ac3 (patch)
treeab1091575785a148714afb3c37e86fefcb418e2b /diff-tree.c
parentCommon option parsing for "git log --diff" and friends (diff)
downloadtgif-8e8f998739db6526fe890fabc88c866759bc2ac3.tar.xz
Fix up default abbrev in setup_revisions() argument parser.
The default abbreviation precision should be DEFAULT_ABBREV as before. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff-tree.c')
-rw-r--r--diff-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/diff-tree.c b/diff-tree.c
index 54157e40dd..979f792b67 100644
--- a/diff-tree.c
+++ b/diff-tree.c
@@ -69,6 +69,7 @@ int main(int argc, const char **argv)
git_config(git_diff_config);
nr_sha1 = 0;
+ opt->abbrev = 0;
argc = setup_revisions(argc, argv, opt, NULL);
while (--argc > 0) {