summaryrefslogtreecommitdiff
path: root/diff-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-15 05:19:38 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-15 05:42:31 (GMT)
commit8e8f998739db6526fe890fabc88c866759bc2ac3 (patch)
treeab1091575785a148714afb3c37e86fefcb418e2b /diff-tree.c
parentcd2bdc5309461034e5cc58e1d3e87535ed9e093b (diff)
downloadgit-8e8f998739db6526fe890fabc88c866759bc2ac3.zip
git-8e8f998739db6526fe890fabc88c866759bc2ac3.tar.gz
git-8e8f998739db6526fe890fabc88c866759bc2ac3.tar.bz2
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 54157e4..979f792b 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) {