fisher/test/path-update.fish
Jorge Bucaran e1e49ceaff
Update is now true to its word :rage1:
The update mechanism updates master only. If you are working in branch
foo, the branch name is saved and restored later. First attempt a naive
git pull --rebase origin master, and if that fails, abort the rebase,
fetch origin master, reset to head and clean directory.
2016-02-24 23:59:55 +09:00

13 lines
167 B
Fish

set -g path $DIRNAME/.t-$TESTNAME-(random)
function -S setup
end
function -S teardown
rm -rf $path
end
test "$TESTNAME - Update Git repo at path"
-z ""
end