Unverified Commit af271c9e authored by Moshe Avni's avatar Moshe Avni Committed by GitHub

feat(git-auto-fetch): add date to git-auto-fetch log file (#10021)

parent ab8b9913
......@@ -25,8 +25,9 @@ function git-fetch-all {
fi
# Fetch all remotes (avoid ssh passphrase prompt)
date -R &>! "$gitdir/FETCH_LOG"
GIT_SSH_COMMAND="command ssh -o BatchMode=yes" \
command git fetch --all 2>/dev/null &>! "$gitdir/FETCH_LOG"
command git fetch --all 2>/dev/null &>> "$gitdir/FETCH_LOG"
) &|
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment