diff options
author | Junio C Hamano <junkio@cox.net> | 2006-04-14 22:19:38 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-14 22:42:31 -0700 |
commit | 8e8f998739db6526fe890fabc88c866759bc2ac3 (patch) | |
tree | ab1091575785a148714afb3c37e86fefcb418e2b /diff-tree.c | |
parent | Common option parsing for "git log --diff" and friends (diff) | |
download | tgif-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.c | 1 |
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) { |