mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-11 07:10:29 +00:00
961d051c2e
Moving and renaming install_fish.sh to travis_install_fish Moving travis_* from tests to tools. rename: fish_user_function/ -> functions_override/ renaming travis_test.fish to test_runner.fish
22 lines
520 B
Bash
Executable File
22 lines
520 B
Bash
Executable File
#!/bin/sh
|
|
|
|
git () {
|
|
case $1 in
|
|
clone)
|
|
command git "$@"
|
|
if test "$TRAVIS_PULL_REQUEST" != "false"; then
|
|
echo "! detecting a pull request !"
|
|
echo "$ git -C $OMF_PATH fetch origin +refs/pull/$TRAVIS_PULL_REQUEST/merge:"
|
|
git -C $OMF_PATH fetch origin +refs/pull/$TRAVIS_PULL_REQUEST/merge:
|
|
echo "$ git -C $OMF_PATH checkout -qf FETCH_HEAD"
|
|
git -C $OMF_PATH checkout -qf FETCH_HEAD
|
|
fi
|
|
;;
|
|
*)
|
|
command git "$@"
|
|
;;
|
|
esac
|
|
}
|
|
|
|
. $TRAVIS_BUILD_DIR/bin/install
|