projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0c14cb
)
t6024: move "git reset" to prepare for a test inside the test itself
author
Junio C Hamano
<gitster@pobox.com>
Sat, 1 Mar 2008 09:10:12 +0000
(
01:10
-0800)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 1 Mar 2008 09:10:12 +0000
(
01:10
-0800)
Noticed by Mike Hommey.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6024-recursive-merge.sh
patch
|
blob
|
history
diff --git
a/t/t6024-recursive-merge.sh
b/t/t6024-recursive-merge.sh
index 149ea8543af153d39c8cba8c43bb3436aaaef3b4..23d24d3feb9d1f3b5875771639a8e6d991d5ed76 100755
(executable)
--- a/
t/t6024-recursive-merge.sh
+++ b/
t/t6024-recursive-merge.sh
@@
-81,8
+81,8
@@
EOF
test_expect_success "virtual trees were processed" "git diff expect out"
-git reset --hard
test_expect_success 'refuse to merge binary files' '
+ git reset --hard &&
printf "\0" > binary-file &&
git add binary-file &&
git commit -m binary &&