X-Git-Url: https://git.armaanb.net/?p=bin.git;a=blobdiff_plain;f=git-mirror;fp=git-mirror;h=5807b87e09c8cf104c50f4a2f110ce23ce3de50f;hp=146f9e0932b47f89ff58d691c300a8313d51d6b9;hb=8695d4a6103f11a8b6d5d8778b3869cb211cd2fc;hpb=f840ce3d2989c8e22bcb2ea47b0ed31ab26564e1 diff --git a/git-mirror b/git-mirror index 146f9e0..5807b87 100755 --- a/git-mirror +++ b/git-mirror @@ -25,7 +25,7 @@ while :; do cd ${newdir} stagit ${dir} cp /usr/share/doc/stagit/style.css . - git fetch --tags + git -C ${dir} fetch --tags echo $(date -Iseconds) ' | ' ${dir} | tee -a ${2} echo $(tail -n 1500 ${2}) > ${2} done