Uwe Kleine-König
2007-07-03 08:47:58 UTC
Signed-off-by: Uwe Kleine-K=F6nig <***@informatik.uni-freiburg.de>
---
This patch is on top of maint. For master and next you need
s/name/names/.
Best regards
Uwe
git-repack.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/git-repack.sh b/git-repack.sh
index ddfa8b4..d980275 100755
--- a/git-repack.sh
+++ b/git-repack.sh
@@ -65,7 +65,9 @@ args=3D"$args $local $quiet $no_reuse_delta$extra"
name=3D$(git-pack-objects --non-empty --all --reflog $args </dev/null =
"$PACKTMP") ||
exit 1
if [ -z "$name" ]; then
- echo Nothing new to pack.
+ if test -q "$quiet"; then
+ echo Nothing new to pack.
+ fi
else
chmod a-w "$PACKTMP-$name.pack"
chmod a-w "$PACKTMP-$name.idx"
--=20
1.5.2.2.1451.gb0e5e
--=20
Uwe Kleine-K=F6nig
exit vi, lesson II:
: w q ! <CR>
NB: write the current file
---
This patch is on top of maint. For master and next you need
s/name/names/.
Best regards
Uwe
git-repack.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/git-repack.sh b/git-repack.sh
index ddfa8b4..d980275 100755
--- a/git-repack.sh
+++ b/git-repack.sh
@@ -65,7 +65,9 @@ args=3D"$args $local $quiet $no_reuse_delta$extra"
name=3D$(git-pack-objects --non-empty --all --reflog $args </dev/null =
"$PACKTMP") ||
exit 1
if [ -z "$name" ]; then
- echo Nothing new to pack.
+ if test -q "$quiet"; then
+ echo Nothing new to pack.
+ fi
else
chmod a-w "$PACKTMP-$name.pack"
chmod a-w "$PACKTMP-$name.idx"
--=20
1.5.2.2.1451.gb0e5e
--=20
Uwe Kleine-K=F6nig
exit vi, lesson II:
: w q ! <CR>
NB: write the current file