Fix pre-push test; there is now no output from push when nothing to do
This commit is contained in:
parent
1d05552bde
commit
f71ece1eba
@ -17,7 +17,8 @@ begin_test "pre-push"
|
||||
echo "refs/heads/master master refs/heads/master 0000000000000000000000000000000000000000" |
|
||||
git lfs pre-push origin "$GITSERVER/$reponame" 2>&1 |
|
||||
tee push.log
|
||||
grep "(0 of 0 files) 0 B 0" push.log
|
||||
# no output if nothing to do
|
||||
[ "$(du -k push.log | cut -f 1)" == "0" ]
|
||||
|
||||
git lfs track "*.dat"
|
||||
echo "hi" > hi.dat
|
||||
|
Loading…
Reference in New Issue
Block a user