Re: [ANNOUNCE] GIT 0.99.9g

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff Garzik <jgarzik@...>
Cc: <git@...>
Date: Friday, November 11, 2005 - 2:37 pm

Jeff Garzik <jgarzik@pobox.com> writes:


Maybe not in git-prune-packed, but you are right.  We should at
least do that in git-prune.  Maybe with something like the patch
at the end?


Bummer here as well.  This is not my first preference, but more
or less "all things considered...".  I can go over cogito and
stgit with Pasky and Catalin and coordinate the transition, but
at the same time, everybody's existing scripts need to be
adjusted.  As Linus said, we broke kernel.org snapshot scripts
number of times.

Also places we execute git-upload-pack and git-receive-pack over
an SSH connection need to be updated to execute 'git' with the
first parameter 'upload-pack' and 'receive-pack' to make sure it
would keep working with older or newer git on the other end.

After all that happens, we can start installing things in
/usr/lib/git/.  During the transition, the C rewrite of git
wrapper posted by Andreas Ericsson might help, so I am planning
to merge it before 1.0, after deciding what the right word for
the "path to the rest of git executables" should be.

So let's say 1.0 will ship with all things in /usr/bin/, with
updated docs that explain the situation: (1) the dash form
'git-frotz' is being deprecated, and you are encouraged to spell
it as 'git frotz'; (2) if you want to use the dash form in your
scripts for performance reasons, you need to have something like
PATH="$(git --exec-path):$PATH" at the beginning of your script.

And after some time (say 2 months) we can switch.

I just do not want to wait that long before 1.0.

-- >8 -- cut here -- >8 --
[PATCH] git-prune: prune redundant packs.

---
diff --git a/git-prune.sh b/git-prune.sh
index ef31bd2..aa79807 100755
--- a/git-prune.sh
+++ b/git-prune.sh
@@ -27,3 +27,14 @@ sed -ne '/unreachable /{
 }
 
 git-prune-packed $dryrun
+
+redundant=$(git-pack-redundant --all)
+if test "" != "$redundant"
+then
+	if test "" = $dryrun
+	then
+		echo "$redundant" | xargs rm -f
+	else
+		echo rm -f "$redundant"
+	fi
+fi






-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] GIT 0.99.9g, Junio C Hamano, (Thu Nov 10, 4:14 am)
Re: [ANNOUNCE] GIT 0.99.9g, Jim Radford, (Thu Nov 10, 2:54 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Andreas Ericsson, (Thu Nov 10, 4:30 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Junio C Hamano, (Thu Nov 10, 4:48 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Jim Radford, (Fri Nov 11, 2:23 pm)
Re: [ANNOUNCE] GIT 0.99.9g, H. Peter Anvin, (Thu Nov 10, 1:09 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Johannes Schindelin, (Fri Nov 11, 10:19 am)
Re: [ANNOUNCE] GIT 0.99.9g, H. Peter Anvin, (Fri Nov 11, 1:46 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Junio C Hamano, (Thu Nov 10, 1:44 pm)
Re: [ANNOUNCE] GIT 0.99.9g, H. Peter Anvin, (Fri Nov 11, 5:18 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Linus Torvalds, (Thu Nov 10, 3:32 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Linus Torvalds, (Thu Nov 10, 3:43 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Petr Baudis, (Thu Nov 10, 2:03 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Daniel Barkalow, (Thu Nov 10, 2:31 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Junio C Hamano, (Thu Nov 10, 3:04 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Daniel Barkalow, (Thu Nov 10, 3:09 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Yaacov Akiba Slama, (Thu Nov 10, 5:54 am)
Re: [ANNOUNCE] GIT 0.99.9g, Junio C Hamano, (Thu Nov 10, 3:55 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Jeff Garzik, (Thu Nov 10, 5:09 am)
Re: [ANNOUNCE] GIT 0.99.9g, Junio C Hamano, (Fri Nov 11, 2:37 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Andreas Ericsson, (Sat Nov 12, 8:17 am)
Re: [ANNOUNCE] GIT 0.99.9g, Junio C Hamano, (Mon Nov 14, 3:46 am)
Re: [ANNOUNCE] GIT 0.99.9g, Petr Baudis, (Mon Nov 14, 5:32 am)
Re: [ANNOUNCE] GIT 0.99.9g, Andreas Ericsson, (Mon Nov 14, 5:23 am)
Re: [ANNOUNCE] GIT 0.99.9g, Junio C Hamano, (Mon Nov 14, 5:15 pm)
Re: [ANNOUNCE] GIT 0.99.9g, H. Peter Anvin, (Thu Nov 10, 1:13 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Andreas Ericsson, (Thu Nov 10, 2:34 pm)
Re: [ANNOUNCE] GIT 0.99.9g, H. Peter Anvin, (Fri Nov 11, 5:17 pm)
Re: [ANNOUNCE] GIT 0.99.9g, Andreas Ericsson, (Sat Nov 12, 7:37 am)