summaryrefslogtreecommitdiff
path: root/git-gui/lib/blame.tcl
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-11-01 11:33:15 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-11-01 13:09:23 -0700
commit751a2ac6edfbc803b9ed7c48d2d1fc54c97cc64c (patch)
treeec9817d03f5697a63080a555fb4ce0c0299e6bc9 /git-gui/lib/blame.tcl
parentdocument --exclude option (diff)
downloadtgif-751a2ac6edfbc803b9ed7c48d2d1fc54c97cc64c.tar.xz
rev-list --exclude: tests
Add tests for the --exclude=<glob> feature. A few tests are added for cases where use of globbing and "--exclude" results in no positive revisions: * "--exclude=<glob>" before "--all" etc. resulted in no results; * "--stdin" is used but no input was given; * "--all" etc. is used but no matching refs are found. Currently, we fail such a request with the same error message we would give to a command line that does not specify any positive revision (e.g. "git rev-list<ENTER>"). We may want to treat these cases differently and not error out, but the logic to detect that would be common to all of them, so I'd leave it outside this topic for now, and stop at adding these tests as food-for-thought. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/blame.tcl')
0 files changed, 0 insertions, 0 deletions