diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2006-11-15 22:52:25 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-11-29 10:33:25 -0800 |
commit | 6bee4e408c097a4f0c4a091f13dacabe7c766025 (patch) | |
tree | 69dabe4b03cbcc3d9cb33938b883252df49dc286 /builtin-blame.c | |
parent | ab3bb800b46cf66249ead9e13c22cbc48d790c9a (diff) | |
download | git-6bee4e408c097a4f0c4a091f13dacabe7c766025.tar.gz |
git-blame: fix rev parameter handling.
We lacked "--" termination in the underlying init_revisions() call
which made it impossible to specify a revision that happens to
have the same name as an existing file.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-blame.c')
-rw-r--r-- | builtin-blame.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-blame.c b/builtin-blame.c index 53fed4501a..dc3ffeaff8 100644 --- a/builtin-blame.c +++ b/builtin-blame.c @@ -1787,6 +1787,7 @@ int cmd_blame(int argc, const char **argv, const char *prefix) /* Now we got rev and path. We do not want the path pruning * but we may want "bottom" processing. */ + argv[unk++] = "--"; /* terminate the rev name */ argv[unk] = NULL; init_revisions(&revs, NULL); |