Skip to content

Commit 6d4dbd5

Browse files
committed
Added --info=PROGRESS2 to rsync command. This reports on the copy progress, avoiding a long silent period when copying large-repositories. The rsync command now matches the default progress-verbosity of the git unpack-objects.
1 parent d395ed1 commit 6d4dbd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-unpack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ for pack in .git/objects/pack/*.pack; do
77
GIT_DIR=/tmp/tmpgit.$$ git unpack-objects < $pack
88
done
99

10-
rsync -a --delete /tmp/tmpgit.$$/objects/ .git/objects/
10+
rsync -a --info=PROGRESS2 --delete /tmp/tmpgit.$$/objects/ .git/objects/
1111

1212
rm -fr /tmp/tmpgit.$$

0 commit comments

Comments
 (0)