On Mon, Dec 17, 2012 at 01:05:38AM +, Adam Spiers wrote:
t/t9902-completion.sh is currently failing for me because I happen to
have a custom shell-script called git-check-email in ~/bin, which is
on my $PATH. This is different to a similar-looking case reported
recently, which was due to
On Thu, Dec 20, 2012 at 2:55 PM, Jeff King p...@peff.net wrote:
On Mon, Dec 17, 2012 at 01:05:38AM +, Adam Spiers wrote:
t/t9902-completion.sh is currently failing for me because I happen to
have a custom shell-script called git-check-email in ~/bin, which is
on my $PATH. This is
On 20.12.12 16:13, Adam Spiers wrote:
On Thu, Dec 20, 2012 at 2:55 PM, Jeff King p...@peff.net wrote:
On Mon, Dec 17, 2012 at 01:05:38AM +, Adam Spiers wrote:
t/t9902-completion.sh is currently failing for me because I happen to
have a custom shell-script called git-check-email in ~/bin,
Jeff King p...@peff.net writes:
2. Loosen the test to look for the presence of checkout, but not
fail when other items are present. Bonus points if it makes sure
that everything returned starts with check.
I think (2) is the ideal solution in terms of behavior, but writing it
Junio C Hamano gits...@pobox.com writes:
Jeff King p...@peff.net writes:
2. Loosen the test to look for the presence of checkout, but not
fail when other items are present. Bonus points if it makes sure
that everything returned starts with check.
I think (2) is the ideal
On Thu, Dec 20, 2012 at 11:55:45AM -0800, Junio C Hamano wrote:
The beginning of such a change may look like the attached patch.
[...]
+test_fully_contains () {
+ sort $1 expect.sorted
+ sort $2 actual.sorted
+ test $(comm -23 expect.sorted actual.sorted | wc -l) = 0
+}
I
On 20.12.12 21:01, Jeff King wrote:
+test_fully_contains () {
+sort $1 expect.sorted
+sort $2 actual.sorted
+test $(comm -23 expect.sorted actual.sorted | wc -l) = 0
+}
(Good to learn about the comm command, thanks )
What do we think about this:
diff --git
Torsten Bögershausen tbo...@web.de writes:
On 20.12.12 21:01, Jeff King wrote:
+test_fully_contains () {
+ sort $1 expect.sorted
+ sort $2 actual.sorted
+ test $(comm -23 expect.sorted actual.sorted | wc -l) = 0
+}
(Good to learn about the comm command, thanks )
What do we think
On Thu, Dec 20, 2012 at 09:53:06PM +0100, Torsten Bögershausen wrote:
(Good to learn about the comm command, thanks )
What do we think about this:
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh
index 3cd53f8..82eeba7 100755
--- a/t/t9902-completion.sh
+++
t/t9902-completion.sh is currently failing for me because I happen to
have a custom shell-script called git-check-email in ~/bin, which is
on my $PATH. This is different to a similar-looking case reported
recently, which was due to an unclean working tree:
10 matches
Mail list logo