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 /git.c | |
parent | cd2bdc5309461034e5cc58e1d3e87535ed9e093b (diff) | |
download | git-8e8f998739db6526fe890fabc88c866759bc2ac3.tar.gz |
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 'git.c')
-rw-r--r-- | git.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -286,6 +286,7 @@ static int cmd_log(int argc, const char **argv, char **envp) const char *commit_prefix = "commit "; int shown = 0; + rev.abbrev = DEFAULT_ABBREV; argc = setup_revisions(argc, argv, &rev, "HEAD"); if (argc > 1) die("unrecognized argument: %s", argv[1]); |