# make -d work in git-repack (without -a)

1 messages from 2006-03-13 to 2006-03-13. Participants: Alex Riesen.
Thread: https://gitlist.dev/t/3644

## Alex Riesen, 2006-03-13 22:26

Subject: make -d work in git-repack (without -a)
Message-ID: <20060313222621.GA25713@steel.home>
URL: https://gitlist.dev/e/20060313222621.GA25713%40steel.home

```
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>

---

Junio C Hamano, Thu, Mar 09, 2006 19:50:43 +0100:
> I am inclined to say I prefer Alex' one.

I guess it has to be sent in formally...

 git-repack.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

a594bee1d539f71970e321592f45a114ea648d92
diff --git a/git-repack.sh b/git-repack.sh
index bc90112..2f643b5 100755
--- a/git-repack.sh
+++ b/git-repack.sh
@@ -74,6 +74,8 @@ then
 			esac
 		  done
 		)
+	else
+		git-prune-packed
 	fi
 	git-prune-packed
 fi
-- 
1.2.4.g6ec337

```
