From: Paul Mackerras Date: Thu, 12 Jul 2007 12:29:49 +0000 (+1000) Subject: gitk: Improve handling of -- and ambiguous arguments X-Git-Tag: v1.5.3-rc1~1^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/cdaee5db165ba8bae8d3b524950e61666fc36a84?ds=inline;hp=cdaee5db165ba8bae8d3b524950e61666fc36a84 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 ---