diff options
author | Junio C Hamano <junkio@cox.net> | 2006-11-08 01:33:59 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-11-08 01:33:59 +0100 |
commit | 24ad8e0ce23d08d28a5d664ab6164b10125146ce (patch) | |
tree | edcba1269b22d79a04558b83f47617f3ecc2acd0 /revision.c | |
parent | git-pack-objects progress flag documentation and cleanup (diff) | |
parent | git-pickaxe: allow "-L <something>,+N" (diff) | |
download | git-24ad8e0ce23d08d28a5d664ab6164b10125146ce.tar.xz git-24ad8e0ce23d08d28a5d664ab6164b10125146ce.zip |
Merge branch 'jc/pickaxe'
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/revision.c b/revision.c index 3dbc26c49c..993bb668a2 100644 --- a/revision.c +++ b/revision.c @@ -657,6 +657,13 @@ int handle_revision_arg(const char *arg, struct rev_info *revs, return 0; *dotdot = '^'; } + dotdot = strstr(arg, "^!"); + if (dotdot && !dotdot[2]) { + *dotdot = 0; + if (!add_parents_only(revs, arg, flags ^ UNINTERESTING)) + *dotdot = '^'; + } + local_flags = 0; if (*arg == '^') { local_flags = UNINTERESTING; |