Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
worktree: allow to (re)move worktrees with uninitialized submodules
[gitweb.git]
/
t
/
t5405-send-pack-rewind.sh
diff --git
a/t/t5405-send-pack-rewind.sh
b/t/t5405-send-pack-rewind.sh
index cb9aacc7bc62e2ecfdca0dc7f6071e5330fe09d0..235fb7686ae0dec21e81b06dd0b220f0705a6b2e 100755
(executable)
--- a/
t/t5405-send-pack-rewind.sh
+++ b/
t/t5405-send-pack-rewind.sh
@@
-8,6
+8,7
@@
test_expect_success setup '
>file1 && git add file1 && test_tick &&
git commit -m Initial &&
+ git config receive.denyCurrentBranch warn &&
mkdir another && (
cd another &&
@@
-24,8
+25,7
@@
test_expect_success 'non forced push should die not segfault' '
(
cd another &&
- git push .. master:master
- test $? = 1
+ test_must_fail git push .. master:master
)
'