Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sg/t3903-missing-fix'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 27 Aug 2018 21:33:48 +0000
(14:33 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 27 Aug 2018 21:33:48 +0000
(14:33 -0700)
Test fixes.
* sg/t3903-missing-fix:
t3903-stash: don't try to grep non-existing file
t/t3903-stash.sh
patch
|
blob
|
history
raw
(from parent 1:
1d27164
)
diff --git
a/t/t3903-stash.sh
b/t/t3903-stash.sh
index 1f871d3cca9aba4dcb32b5197b9b3d296fc5c1fa..6450bc669860f0f3e7d809514fc073013ffbf0b8 100755
(executable)
--- a/
t/t3903-stash.sh
+++ b/
t/t3903-stash.sh
@@
-724,7
+724,7
@@
test_expect_success 'store updates stash ref and reflog' '
git add bazzy &&
STASH_ID=$(git stash create) &&
git reset --hard &&
-
! grep quux
bazzy &&
+
test_path_is_missing
bazzy &&
git stash store -m quuxery $STASH_ID &&
test $(git rev-parse stash) = $STASH_ID &&
git reflog --format=%H stash| grep $STASH_ID &&