Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 01/12] tests: add initial bash completion tests

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:32

Jeff King [off-list ref] writes:
On Sun, Apr 08, 2012 at 05:30:02AM -0500, Jonathan Nieder wrote:
quoted
quoted
This test fails for me. The problem is that I have other git-f* programs
in my PATH
[...]
Is there some reason we care about the exact list of completions for
"git f"?
[...]
Maybe it would make sense to check a few representative items.

	# builtin
	grep "^fetch\$" out &&
I think your approach (to stop worrying about stopping pollution from
the environment, and start being more specific in what the tests care
about) is much saner than the snippet I posted.
I have to agree with that; it might give unexpeceted results if the user
has a $HOME/bin/git-update-index or something, though.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help