Skip to content

Commit

Permalink
Merge pull request #22 from naderman/fix-duplicate-fetch
Browse files Browse the repository at this point in the history
Fix duplicate fetch, -t option fetches other refs too
  • Loading branch information
simensen committed Jan 26, 2016
2 parents 4b5087f + 55b5816 commit 5022114
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions git-subsplit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -330,14 +330,12 @@ subsplit_update()

say "Updating subsplit from origin"

git fetch -q origin
git fetch -q -t origin
git checkout master
git reset --hard origin/master

if [ -n "$VERBOSE" ];
then
echo "${DEBUG} git fetch -q origin"
echo "${DEBUG} git fetch -q -t origin"
echo "${DEBUG} git checkout master"
echo "${DEBUG} git reset --hard origin/master"
Expand Down

0 comments on commit 5022114

Please sign in to comment.