git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] t3411: Fix test 1 for case-insensitive file systems
@ 2009-01-29 16:00 Brian Gernhardt
  2009-01-29 16:13 ` Johannes Schindelin
  2009-01-29 17:19 ` Junio C Hamano
  0 siblings, 2 replies; 17+ messages in thread
From: Brian Gernhardt @ 2009-01-29 16:00 UTC (permalink / raw)
  To: Git List; +Cc: Junio C Hamano

The call to "git reset --hard B1" failed on case-insensitive file
systems (such as the default settings for HFS+) because there was both
a tag "B1" and a file "b1".  Adding "--" to the command makes it
clear that we mean commit B1.

Signed-off-by: Brian Gernhardt <benji@silverinsanity.com>
---
 t/t3411-rebase-preserve-around-merges.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/t3411-rebase-preserve-around-merges.sh b/t/t3411-rebase-preserve-around-merges.sh
index 6533505..e544451 100755
--- a/t/t3411-rebase-preserve-around-merges.sh
+++ b/t/t3411-rebase-preserve-around-merges.sh
@@ -24,7 +24,7 @@ test_expect_success 'setup' '
 	test_commit A1 &&
 	test_commit B1 &&
 	test_commit C1 &&
-	git reset --hard B1 &&
+	git reset --hard B1 -- &&
 	test_commit D1 &&
 	test_merge E1 C1 &&
 	test_commit F1
-- 
1.6.1.2.418.gd79e6.dirty

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-02-04  2:11 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29 16:00 [PATCH] t3411: Fix test 1 for case-insensitive file systems Brian Gernhardt
2009-01-29 16:13 ` Johannes Schindelin
2009-01-29 17:19 ` Junio C Hamano
2009-01-29 17:33   ` Johannes Schindelin
2009-01-29 19:10   ` Brian Gernhardt
2009-02-03 15:07     ` Brian Gernhardt
2009-02-03 16:53       ` Johannes Schindelin
2009-02-03 17:11         ` Brian Gernhardt
2009-02-03 17:18           ` Johannes Schindelin
2009-02-03 17:43             ` Brian Gernhardt
2009-02-03 18:19               ` Johannes Schindelin
2009-02-03 18:42                 ` Brian Gernhardt
2009-02-03 19:02                   ` Junio C Hamano
2009-02-03 19:12                     ` Brian Gernhardt
2009-02-03 20:16                       ` Johannes Schindelin
2009-02-03 20:38                     ` Johannes Schindelin
2009-02-04  2:09                       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).