]> git.phdru.name Git - git-scripts.git/commitdiff
Fix(update-remotes): Fetch named branches
authorOleg Broytman <phd@phdru.name>
Thu, 5 Sep 2024 15:38:59 +0000 (18:38 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 5 Sep 2024 15:38:59 +0000 (18:38 +0300)
update-remotes

index cf09215f3cfeaf773abc187bde3976c9117dead6..05ce9396b3ba1dca93cb9842c77938b8de5aa8bf 100755 (executable)
@@ -22,7 +22,7 @@ elif [ -z "$current" ]; then
     exit 1
 fi
 
-git fetch current
+git fetch current master $branches
 { git pull --ff-only current master || git reset --hard current/master ; }
 git set-date