]> git.phdru.name Git - git-scripts.git/commitdiff
Feat(update-remotes): Call `git set-date`
authorOleg Broytman <phd@phdru.name>
Mon, 5 Feb 2024 16:07:28 +0000 (19:07 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 5 Feb 2024 16:07:28 +0000 (19:07 +0300)
update-remotes

index 75f7f53568d3a757144844690a350e68f330ff15..dca6f3fe383b184490b838137fe4d623ca60f7ce 100755 (executable)
@@ -19,10 +19,13 @@ fi
 
 git fetch current &&
 { git pull --ff-only current master || git reset --hard current/master ; } &&
+git set-date &&
 
 web="`git config --get --path remote.web.url`" &&
 if [ -n "$web" ]; then
    git push --force web $branches
 fi &&
 
-cd "$current" && exec git pull origin
+cd "$current" &&
+git pull origin &&
+exec git set-date