summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2007-07-12 22:29:49 +1000
committerPaul Mackerras <paulus@samba.org>2007-07-12 22:29:49 +1000
commitcdaee5db165ba8bae8d3b524950e61666fc36a84 (patch)
treec8aaba31c42f576fb0c02771c8117e59075e7208 /commit.c
parentc961b228bcab390a1b42d517b6ed5a1edb55efed (diff)
downloadgit-cdaee5db165ba8bae8d3b524950e61666fc36a84.tar.gz
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 'commit.c')
0 files changed, 0 insertions, 0 deletions