Re: [RFC/PATCH 2/3] Prepare testsuite for a "git clone" that packs refs
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Apr 14, 2008, 06:10 UTC
- Message-ID
- <alpine.LNX.1.00.0804140205040.19665@iabervon.org>
- In-Reply-To
- <200803220213.06359.johan@herland.net>
On Sat, 22 Mar 2008, Johan Herland wrote:
Show 12 quoted lines
> diff --git a/t/t5515-fetch-merge-logic.sh b/t/t5515-fetch-merge-logic.sh > index 31c1081..4569a13 100755 > --- a/t/t5515-fetch-merge-logic.sh > +++ b/t/t5515-fetch-merge-logic.sh > @@ -143,6 +143,7 @@ do > rm -f .git/refs/heads/* > rm -f .git/refs/remotes/rem/* > rm -f .git/refs/tags/* > + rm -f .git/packed-refs > git fetch "$@" >/dev/null > cat .git/FETCH_HEAD > } >"$actual" &&
I was just looking over this again, and it doesn't actually work, because it removes the copies of refs/remotes/origin/*, which the tests are expecting to find.
-Daniel *This .sig left intentionally blank*