diff options
author | Paul Mackerras <paulus@samba.org> | 2007-07-12 22:29:49 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-12 22:29:49 +1000 |
commit | cdaee5db165ba8bae8d3b524950e61666fc36a84 (patch) | |
tree | c8aaba31c42f576fb0c02771c8117e59075e7208 /builtin-cat-file.c | |
parent | gitk: Use git log and add support for --left-right (diff) | |
download | tgif-cdaee5db165ba8bae8d3b524950e61666fc36a84.tar.xz |
gitk: Improve handling of -- and ambiguous arguments
This makes gitk more consistent with git rev-list and git log in its
handling of arguments that could be either a revision or a filename;
now gitk displays an error message and quits, rather than treating it
as a revision and getting an error in the underlying git log. Now
gitk always passes "--" to git log even if no filenames are being
specified.
It also makes gitk display errors in invoking git log in a window
rather than on stderr, and makes gitk stop looking for a -d flag
when it sees a "--" argument.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'builtin-cat-file.c')
0 files changed, 0 insertions, 0 deletions