[PATCH] send-pack/receive-pack minor fixups.

2005-08-01 Thread Junio C Hamano
I munged the receive-pack update from Josef Weidendorfer to run the same hook with different calling signature once again at the very end. Of course, this was an ugly hack, and Josef correctly pointed out it should be a separate hook. This commit changes it to run hooks/post-update instead, with

Re: [OT] Perl-ish perl vs. C-ish perl.

2005-08-01 Thread Ryan Anderson
On Mon, Aug 01, 2005 at 04:21:08PM -0700, Junio C Hamano wrote: > Noel Maddy <[EMAIL PROTECTED]> writes: > > > my %tmp; > > @to = grep { ! $tmp->{$_}++ && Email::Valid->address($_) } @to; > > Please refrain from making this thread "I know more Perl than > you do"; thank you. Perl is a rather cra

GIT 0.99.3

2005-08-01 Thread Junio C Hamano
The people at kernel.org threatened to uninstall cogito RPM package from there so that the recent git RPM can be installed instead, unless cogito is repackaged to depend on core git and not ship its own copy. I wanted to see that separation happen anyway, long before I took it over from Linus. To

[OT] Perl-ish perl vs. C-ish perl.

2005-08-01 Thread Junio C Hamano
Noel Maddy <[EMAIL PROTECTED]> writes: > my %tmp; > @to = grep { ! $tmp->{$_}++ && Email::Valid->address($_) } @to; Please refrain from making this thread "I know more Perl than you do"; thank you. I learned this the hard way at work. Having 47 different way to say the same thing so you can say

Re: [PATCH 1/3] Add git-send-email-script - tool to send emails from git-format-patch-script

2005-08-01 Thread Noel Maddy
On Mon, Aug 01, 2005 at 06:08:00PM -0400, Noel Maddy wrote: > On Sun, Jul 31, 2005 at 07:52:42PM -0400, Ryan Anderson wrote: > > On Sun, Jul 31, 2005 at 02:45:29AM -0700, Junio C Hamano wrote: > > > Ryan Anderson <[EMAIL PROTECTED]> writes: > ... > > > > > > Also you seem to be losing the ordering

Re: [PATCH 1/3] Add git-send-email-script - tool to send emails from git-format-patch-script

2005-08-01 Thread Noel Maddy
On Sun, Jul 31, 2005 at 07:52:42PM -0400, Ryan Anderson wrote: > On Sun, Jul 31, 2005 at 02:45:29AM -0700, Junio C Hamano wrote: > > Ryan Anderson <[EMAIL PROTECTED]> writes: ... > > > > Also you seem to be losing the ordering in @to and @cc by the > > use of uniquefying "keys %to" and "keys %cc".

Re: [PATCH 1/3] debianization update

2005-08-01 Thread Sebastian Kuzminsky
Holger Eitzenberger <[EMAIL PROTECTED]> wrote: > attached is a patch containing a debianziation update for cogito, based > upon the Debian/unstable package. I mailed the official Debian > maintainer in the hope to get an updated .deb but got no reply from him > until today. So i used his work

[PATCH 2/3] conditional makefile vars

2005-08-01 Thread Holger Eitzenberger
Hi, please see the notes of my first email, thx. /holger make some makefile variables conditional for easy build of .deb. --- commit 5811433ca54eaab5cefe36924154428697e8826e tree 80a4a22022659eb3e0406c6da65a60fee1fbfd4f parent 39b146fbd789ccb685e42f8e0076e3802da22b55 author Holger Eitzenberger

[PATCH 3/3] remove git-core.* files

2005-08-01 Thread Holger Eitzenberger
Hi, please see the notes of my first email, thx. /holger removed old git-core files (no longer needed). --- commit 34772a631d1715ed85909e8bfb417ea5f8feffea tree 8fd83cf3377953b35e2933f240170f5602ca7d57 parent f2d865a59091d712f9138dbb7b6df039b342844e author Holger Eitzenberger <[EMAIL PROTECTED]

[PATCH 1/3] debianization update

2005-08-01 Thread Holger Eitzenberger
Hi, attached is a patch containing a debianziation update for cogito, based upon the Debian/unstable package. I mailed the official Debian maintainer in the hope to get an updated .deb but got no reply from him until today. So i used his work to make a new release of it. Note that this pat

Fix sparse warnings

2005-08-01 Thread Linus Torvalds
A few sparse warnings have crept in again since I checked last time: undeclared variables with global scope. Fix them by marking the private variables properly "static". Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> Btw, sparse also warns about the "return 0" in receive-pack.c: unpack

Re: Using git with http behind proxy with authentification?

2005-08-01 Thread Dirk Behme
Darrin Thompson wrote: On Sat, 2005-07-23 at 12:21 +0200, Dirk Behme wrote: In the past, for bk I used $ export http_proxy=http://user:[EMAIL PROTECTED]:8080/ which worked. But no luck with cogito/git. Looking into recent cogito/git, the reason for this seems to be that cogito/git uses a c

Re: [RFC] extending git-ls-files --exclude.

2005-08-01 Thread Wayne Scott
On 7/29/05, Junio C Hamano <[EMAIL PROTECTED]> wrote: > While I would in principle prefer to offer more freedom to shoot > yourselves in the foot ;-), the pragmatic side of me says too > much flexibility is just asking for trouble with not much > additional gain. For an example of just how far y

Re: git diffs

2005-08-01 Thread Linus Torvalds
On Mon, 1 Aug 2005, Matthias Urlichs wrote: > > Hi, Linus Torvalds wrote: > > > git checkout -f master > > git-rev-parse master > .git/refs/heads/merge-branch > > > > # > > # Switch to it, always leaving "master" untouched > > # > > git checkout -f merge-branch > > Isn'

[PATCH] Updates for cvs-migration.txt

2005-08-01 Thread Johannes Schindelin
Describe core git, not cogito. Tell something about emulating the CVS work flow. Fix small typos. Signed-off-by: Johannes Schindelin <[EMAIL PROTECTED]> --- Documentation/cvs-migration.txt | 28 ++-- 1 files changed, 22 insertions(+), 6 deletions(-) 4d171682e6e6499db8

[PATCH] Updates to tutorial.txt

2005-08-01 Thread Johannes Schindelin
Fix a few typos. Adapt to git-http-pull not borking on packed repositories. Signed-off-by: Johannes Schindelin <[EMAIL PROTECTED]> --- Documentation/tutorial.txt | 36 +--- 1 files changed, 17 insertions(+), 19 deletions(-) 161f6e2d135e2b24e6629aaf8be65ede4fdf

[PATCH] Do not rely on a sane wc

2005-08-01 Thread Johannes Schindelin
Some implementations of wc pad the line number with white space, which expr does not grok as a number. Signed-off-by: Johannes Schindelin <[EMAIL PROTECTED]> --- git-format-patch-script |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) da0488e94f7f949cbfce7422980eb2fe38166b9a diff --

[PATCH] Fix warning about non-void return in a void function.

2005-08-01 Thread A Large Angry SCM
[PATCH] Fix warning about non-void return in a void function. Signed-off-by: A Large Angry SCM <[EMAIL PROTECTED]> --- receive-pack.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 8eda2e60f24221255b77e48f4dd60e2b025839ed diff --git a/receive-pack.c b/receive-pack.c --- a/receive-p

Re: Dump http servers still slow?

2005-08-01 Thread Darrin Thompson
On Sat, 2005-07-30 at 23:51 -0700, Junio C Hamano wrote: > Darrin Thompson <[EMAIL PROTECTED]> writes: > > > 1. Pack files should reduce the number of http round trips. > > 2. What I'm seeing when I check out mainline git is the acquisition of a > > single large pack, then 600+ more recent objects

[ANNOUNCE] mtkdiff-20050801 (with patchkdiff, quiltkdiff, gitkdiff and modified gitk)

2005-08-01 Thread Tejun Heo
^OLD_HEAD | gitkdiff -c -r * modified gitk-1.2. For more information... http://home-tj.org/mtkdiff Tarball is available at http://home-tj.org/mtkdiff/files/mtkdiff-20050801.tar.gz Thanks. -- tejun - To unsubscribe from this list: send the line "unsubscribe git" in the body of

Re: Git 1.0 Synopis (Draft v3

2005-08-01 Thread Horst von Brand
[Yes, I know it is considered odd when you speak to yourself in public...] Horst von Brand <[EMAIL PROTECTED]> wrote: > Ryan Anderson <[EMAIL PROTECTED]> wrote: > > Source Code Management with Git > More bugging... And then some. > > To get the 'Porcelain' tools mentioned above: > > SCM Int

Re: Git 1.0 Synopis (Draft v3

2005-08-01 Thread Horst von Brand
Sam Ravnborg <[EMAIL PROTECTED]> wrote: > On Fri, Jul 29, 2005 at 04:29:41AM -0400, Ryan Anderson wrote: > > Source Code Management with Git > > The article should include a HOWTO part alos. I'd vote for a separate file. > So people can see how

Re: Git 1.0 Synopis (Draft v3

2005-08-01 Thread Horst von Brand
Ryan Anderson <[EMAIL PROTECTED]> wrote: > Source Code Management with Git More bugging... - Either stay with your idea of "Git is the idea, git the implementation" (iff blessed by the Git Powers That Be) and be consistent about it, or just use "git" throughout. - Attribute the meaning appro

Re: Status of git.git repository

2005-08-01 Thread Horst von Brand
Junio C Hamano <[EMAIL PROTECTED]> wrote: [...] > By the way, do people mind my posting my own patches to the > list? I keep the same in the "pu" (proposed updates) branch, so > if the list readers think I am just adding noise to the list > traffic, I would stop doing so, and instead just invite

Re: cg-clone failing to get cogito latest tree.

2005-08-01 Thread Komal Shah
--- Martin Langhoff <[EMAIL PROTECTED]> wrote: > On a new machine, trying to boostrap into latest cogito, I download > and make cogito 0.12.1, and then... > > $ cg-clone http://www.kernel.org/pub/scm/cogito/cogito.git cogito > defaulting to local storage area > 14:48:53 Please try "rsync" meth

Re: [PATCH 1/2] Functions for managing the set of packs the library is using (whitespace fixed)

2005-08-01 Thread Junio C Hamano
[EMAIL PROTECTED] writes: > This adds support for reading an uninstalled index, and installing a > pack file that was added while the program was running, as well as > functions for determining where to put the file. Thanks. Applied and pushed out. I removed my own version of stop-gap hack; git

Re: [PATCH] Added hook in git-receive-pack

2005-08-01 Thread Junio C Hamano
Josef, I've committed a version that has slightly different semantics from what you originally posted. The differences are: - Instead of being post-change hook, the script is run just before each ref is updated. The script can exit with non-zero status to tell receive-pack not to update t

Re: [PATCH 1/3] Add git-send-email-script - tool to send emails from git-format-patch-script

2005-08-01 Thread Matthias Urlichs
Hi, Junio C Hamano wrote: > Also, I wonder if running lc() to downcase the local-part[*] is > safe/allowed/correct mostly/no/no. It's unlikely to be a real-life problem, but we still shouldn't do it. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | [EMAIL PROTECTED] Disclaimer: The q

Re: git diffs

2005-08-01 Thread Matthias Urlichs
Hi, Linus Torvalds wrote: > git checkout -f master > git-rev-parse master > .git/refs/heads/merge-branch > > # > # Switch to it, always leaving "master" untouched > # > git checkout -f merge-branch Isn't that equivalent to (but slower than) git checkout -