From 61df96319b27b8c02d3745516c7c69e7543bfb10 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 5 Feb 2024 19:07:28 +0300 Subject: [PATCH] Feat(update-remotes): Call `git set-date` --- update-remotes | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update-remotes b/update-remotes index 75f7f53..dca6f3f 100755 --- a/update-remotes +++ b/update-remotes @@ -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 -- 2.39.2