More git pull problems

2005-04-19 Thread Russell King
My automatic pull this morning produced the following messages, which seem to indicate that something's up with git pull now. git-pasky-0.4 (7bef49b5d53218ed3fa8bac291b5515c6479810c) > MOTD: > MOTD: Welcome to the Linux Kernel Archive. > MOTD: > MOTD: Due to U.S. Exports Regulations, all crypto

Re: Re-done kernel archive - real one?

2005-04-19 Thread Russell King
On Tue, Apr 19, 2005 at 01:09:42AM +0200, Petr Baudis wrote: > > Essentially, with BK, at 7am localtime each morning, I'd: > > > > - update my baseline linux 2.6 tree > > - for each working tree which may be pulled from > > - if the baseline is a superset > > - update working tree from basel

Re: SCM ideas from 2003

2005-04-19 Thread Marc Girod
> "KS" == Kevin Smith <[EMAIL PROTECTED]> writes: KS> "what's so special about files ?" where the author suggests that KS> existing SCM systems are so blinded by the tradition of file KS> orientation that they can't see that there might be alternatives. Correct: file orientation is eventually

A VFS layer - was: SCM ideas from 2003

2005-04-19 Thread Jon Seymour
On 19 Apr 2005 08:31:42 +0300, Marc Girod <[EMAIL PROTECTED]> wrote: > > "KS" == Kevin Smith <[EMAIL PROTECTED]> writes: > > KS> "what's so special about files ?" where the author suggests that > KS> existing SCM systems are so blinded by the tradition of file > KS> orientation that they can't

Re: "True" git merge in git-pasky

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 07:43:07AM CEST, I got a letter where bert hubert <[EMAIL PROTECTED]> told me that... > On Tue, Apr 19, 2005 at 05:51:07AM +0200, Petr Baudis wrote: > > http://pasky.or.cz/~pasky/dev/git > > I pulled the tar.bz2 and did make: > gcc -g -O3 -Wall -o merge-cach

Re: [PATCH] provide better committer information to commit-tree.c

2005-04-19 Thread Russell King
On Mon, Apr 18, 2005 at 05:45:48PM -0700, Greg KH wrote: > On Mon, Apr 18, 2005 at 05:31:16PM -0700, Linus Torvalds wrote: > > > > > > On Mon, 18 Apr 2005, Greg KH wrote: > > > > > > Here's a small patch to commit-tree.c that does two things: > > > > Gaah, I really was hoping that people wouldn'

Re: [darcs-devel] Darcs and git: plan of action

2005-04-19 Thread Juliusz Chroboczek
> > Aye, that will require some metadata on the git side (the hack, > > suggested by Linus, of using git hashes to notice moves won't work). > So, why won't it work? Because two files can legitimately have identical contents without being ``the same'' file from the VC system's point of view. In

Re: More git pull problems

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 09:02:51AM CEST, I got a letter where Russell King <[EMAIL PROTECTED]> told me that... > My automatic pull this morning produced the following messages, which > seem to indicate that something's up with git pull now. > > git-pasky-0.4 (7bef49b5d53218ed3fa8bac291

Re: More git pull problems

2005-04-19 Thread Russell King
On Tue, Apr 19, 2005 at 10:23:41AM +0200, Petr Baudis wrote: > Dear diary, on Tue, Apr 19, 2005 at 09:02:51AM CEST, I got a letter > where Russell King <[EMAIL PROTECTED]> told me that... > > My automatic pull this morning produced the following messages, which > > seem to indicate that something's

Re: full kernel history, in patchset format

2005-04-19 Thread Catalin Marinas
David Mansfield <[EMAIL PROTECTED]> wrote: > Catalin Marinas wrote: >> AFAIK, cvsps uses the date/time to create the changesets. There is a >> problem with the BKCVS export since some files in the same commit can >> have a different time (by an hour). I posted a mail some time ago >> about this - >

Re: More git pull problems

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 10:31:13AM CEST, I got a letter where Russell King <[EMAIL PROTECTED]> told me that... > On Tue, Apr 19, 2005 at 10:23:41AM +0200, Petr Baudis wrote: > > Dear diary, on Tue, Apr 19, 2005 at 09:02:51AM CEST, I got a letter > > where Russell King <[EMAIL PROTECTED]

[PATCH 0/8] init-db.c cleanup, add INDEX_FILE_DIRECTORY support

2005-04-19 Thread Zach Welch
Hi all, I'm working on an OO perl alternative to Petr's git scripts, which I'm currently calling "yogi" (your other git interface). While I'm not ready to release that just yet, I wanted to start floating some patches to the core plumbing to support the respective packages' potentially divergent

[PATCH 1/8] init-db.c: [RESEND] remove redundant getenv call

2005-04-19 Thread Zach Welch
init-db calls getenv(DB_ENVIRONMENT) twice. Once should be enough. This patch applies on top of: [PATCH 0/8] init-db.c cleanup, add INDEX_FILE_DIRECTORY support init-db.c |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Signed-Off-By: Zach Welch <[EMAIL PROTECTED]> Signed-Off

[PATCH 2/8] init-db.c: [RESEND] make init-db work with common objects

2005-04-19 Thread Zach Welch
This makes init-db work for common object database. This patch applies on top of: [PATCH 0/8] init-db.c cleanup, add INDEX_FILE_DIRECTORY support [PATCH 1/8] init-db.c: [RESEND] remove redundant getenv call init-db.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed

[PATCH 3/8] init-db.c: refactor directory creation

2005-04-19 Thread Zach Welch
This patch factors the init-db directory creation into a new function, which is then reused in the next patch. This patch applies on top of: [PATCH 0/8] init-db.c cleanup, add INDEX_FILE_DIRECTORY support [PATCH 1/8] init-db.c: [RESEND] remove redundant getenv call [PATCH

[PATCH 4/8] init-db.c: add INDEX_FILE_DIRECTORY support

2005-04-19 Thread Zach Welch
This patch give init-db the ability for the index directory to be overridden by the INDEX_FILE_DIRECTORY environment variable. This patch applies on top of: [PATCH 0/8] init-db.c cleanup, add INDEX_FILE_DIRECTORY support [PATCH 1/8] init-db.c: [RESEND] remove redundant getenv call

[PATCH 5/8] init-db.c: refactor mkdir logic

2005-04-19 Thread Zach Welch
Move redundant mkdir call logic into helper function. This patch applies on top of: [PATCH 0/8] init-db.c cleanup, add INDEX_FILE_DIRECTORY support [PATCH 1/8] init-db.c: [RESEND] remove redundant getenv call [PATCH 2/8] init-db.c: [RESEND] make init-db work with common obj

[PATCH 7/8] read-tree.c: add INDEX_FILE_DIRECTORY support

2005-04-19 Thread Zach Welch
This patch give read-tree the ability for the index directory to be overridden by the INDEX_FILE_DIRECTORY environment variable. This patch applies on top of: [PATCH 0/8] init-db.c cleanup, add INDEX_FILE_DIRECTORY support [PATCH 1/8] init-db.c: [RESEND] remove redundant getenv ca

[PATCH 8/8] update-cache.c: add INDEX_FILE_DIRECTORY support

2005-04-19 Thread Zach Welch
This patch give update-cache the ability for the index directory to be overridden by the INDEX_FILE_DIRECTORY environment variable. This patch applies on top of: [PATCH 0/8] init-db.c cleanup, add INDEX_FILE_DIRECTORY support [PATCH 1/8] init-db.c: [RESEND] remove redundant getenv

[PATCH 6/8] read-cache.c: add INDEX_FILE_DIRECTORY support

2005-04-19 Thread Zach Welch
This patch give read-cache the ability for the index directory to be overridden by the INDEX_FILE_DIRECTORY environment variable. This patch applies on top of: [PATCH 0/8] init-db.c cleanup, add INDEX_FILE_DIRECTORY support [PATCH 1/8] init-db.c: [RESEND] remove redundant getenv c

Re: Change "pull" to _only_ download, and "git update"=pull+merge?

2005-04-19 Thread David Greaves
David A. Wheeler wrote: I propose changing "pull" to ONLY download, and "update" to pull AND merge. Why? It seems oddly inconsistent that "pull" sometimes merges in changes, but at other times it doesn't. true I propose that there be two subcommands, "pull" and "update" (now that "update" isn't a

Re: Change "pull" to _only_ download, and "git update"=pull+merge?

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 11:18:55AM CEST, I got a letter where David Greaves <[EMAIL PROTECTED]> told me that... > What's the most common thing to do? pull or update? update for normal users. > which is easier to type? > what are people used to? I think 'git up' is easier to type than

Re: Change "pull" to _only_ download, and "git update"=pull+merge?

2005-04-19 Thread Martin Schlemmer
On Tue, 2005-04-19 at 11:28 +0200, Petr Baudis wrote: > Dear diary, on Tue, Apr 19, 2005 at 11:18:55AM CEST, I got a letter > where David Greaves <[EMAIL PROTECTED]> told me that... > > Dunno. I do it personally all the time, with git at least. > > What do others think? :-) > I think pull is pul

Re: [darcs-devel] Darcs and git: plan of action

2005-04-19 Thread David Roundy
On Mon, Apr 18, 2005 at 08:38:25AM -0700, Linus Torvalds wrote: > On Mon, 18 Apr 2005, David Roundy wrote: > > In particular, it would make life (that is, life interacting back > > and forth with git) easier if we were to embed darcs patches in their > > entirety in the git comment block. > >

Re: Change "pull" to _only_ download, and "git update"=pull+merge?

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 12:05:10PM CEST, I got a letter where Martin Schlemmer <[EMAIL PROTECTED]> told me that... > On Tue, 2005-04-19 at 11:28 +0200, Petr Baudis wrote: > > Dear diary, on Tue, Apr 19, 2005 at 11:18:55AM CEST, I got a letter > > where David Greaves <[EMAIL PROTECTED]>

Re: [darcs-devel] Darcs and git: plan of action

2005-04-19 Thread David Roundy
On Tue, Apr 19, 2005 at 02:55:05AM +0200, Juliusz Chroboczek wrote: > [Using git as a backend for Darcs.] ... > >> 1. remove the assumption that patch IDs have a fixed format. Patch > >> IDs should be opaque blobs of binary data that Darcs only compares > >> for equality. > > > I'm not really

Re: [darcs-devel] Darcs and git: plan of action

2005-04-19 Thread David Roundy
On Mon, Apr 18, 2005 at 06:42:11PM -0700, Ray Lee wrote: > On Mon, 2005-04-18 at 21:05 -0400, Kevin Smith wrote: > > You could guess, but that's not good enough for darcs to be able to > > reliably commute the patches later. > > Who said anything about guessing? If a user replaces all instances of

Re: [darcs-devel] Darcs and git: plan of action

2005-04-19 Thread Juliusz Chroboczek
[Removing Linus from CC, keeping the Git list -- or should we remove it?] > I'm not clear why it would be necesary, and it takes the only immutable > piece of information regarding a patch, and makes it variable. Er... I'm not suggesting to make it variable, just to make it an opaque blob of byte

Re: [darcs-devel] Darcs and git: plan of action

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 02:20:55PM CEST, I got a letter where Juliusz Chroboczek <[EMAIL PROTECTED]> told me that... > > The problem is that there is no sequence of alien versions that one can > > differentiate. Git has a branched history, with each version that follows > > a merge hav

missing: git api, reference, user manual and mission statement

2005-04-19 Thread Klaus Robert Suetterlin
Dear all, please don't bother me with ``read the source dude'' or similar answers to this post. If it's tone or contents just piss You off, ignore it. I read a little about git lately, and tried to get it running the last two days. I found the following things lacking: 1) There is no clear (e

Re: space compression (again)

2005-04-19 Thread Martin Uecker
On Sat, Apr 16, 2005 at 07:37:02PM +0200, Martin Uecker wrote: > On Sat, Apr 16, 2005 at 11:11:00AM -0400, C. Scott Ananian wrote: > > The rsync approach does not use fixed chunk boundaries; this is necessary > > to ensure good storage reuse for the expected case (ie; inserting a single > > lin

naive question

2005-04-19 Thread Paul Mackerras
Is there a way to check out a tree without changing the mtime of any files that you have already checked out and which are the same as the version you are checking out? It seems that checkout-cache -a doesn't overwrite any existing files, and checkout-cache -f -a overwrites all files and gives the

Re: naive question

2005-04-19 Thread David Woodhouse
On Tue, 2005-04-19 at 23:00 +1000, Paul Mackerras wrote: > Is there a way to check out a tree without changing the mtime of any > files that you have already checked out and which are the same as the > version you are checking out? It seems that checkout-cache -a doesn't > overwrite any existing f

[script] ge: export commits as patches

2005-04-19 Thread Ingo Molnar
is there any 'export commit as patch' support in git-pasky? I didnt find any such command (maybe it got added meanwhile), so i'm using the 'ge' hack below. e.g. i typically look at commits via 'git log', and then when i see something interesting, i look at the commit via the 'ge' script. E.g.

Re: naive question

2005-04-19 Thread Ingo Molnar
* David Woodhouse <[EMAIL PROTECTED]> wrote: > On Tue, 2005-04-19 at 23:00 +1000, Paul Mackerras wrote: > > Is there a way to check out a tree without changing the mtime of any > > files that you have already checked out and which are the same as the > > version you are checking out? It seems th

Re: missing: git api, reference, user manual and mission statement

2005-04-19 Thread Kevin Smith
Klaus Robert Suetterlin wrote: > 1) There is no clear (e.g. by name) distinction between ``git as done > by Linus'', which is a kind of content addressable database with added > semantics, and ``git as done by the rest of You'', which is a kind of > SCM on top of Linuses stuff. I also see this as

Re: Change "pull" to _only_ download, and "git update"=pull+merge?

2005-04-19 Thread Jon Seymour
> I disagree. This already forces you to have two branches (one to pull > from to get the data, mirroring the remote branch, one for your real > work) uselessly and needlessly. > > ... > These naming issues may appear silly but I think they matter big time > for usability, intuitiveness, and learn

Re: missing: git api, reference, user manual and mission statement

2005-04-19 Thread Ingo Molnar
* Kevin Smith <[EMAIL PROTECTED]> wrote: > Klaus Robert Suetterlin wrote: > > 1) There is no clear (e.g. by name) distinction between ``git as done > > by Linus'', which is a kind of content addressable database with added > > semantics, and ``git as done by the rest of You'', which is a kind of

wit - a git web interface

2005-04-19 Thread Christian Meder
Hi, I uploaded a first draft of wit to http://www.absolutegiganten.org/wit Right now it's a minimal web interface on top of git. Unpack it, make sure you've got at least Python 2.3, optionally install c2html, adjust config.py and start from the root with $ PYTHONPATH=. python git/web/wit.py Point

Re: missing: git api, reference, user manual and mission statement

2005-04-19 Thread Kevin Smith
Ingo Molnar wrote: > * Kevin Smith <[EMAIL PROTECTED]> wrote: > >>Git is very immature, and currently should only be used by brave >>pioneers. About the only way for a mortal to even try git is to stick >>to git-pasky releases, and not try to track all the patches flying >>around. > > hey, it'

Re: Change "pull" to _only_ download, and "git update"=pull+merge?

2005-04-19 Thread Martin Schlemmer
On Tue, 2005-04-19 at 12:50 +0200, Petr Baudis wrote: > Dear diary, on Tue, Apr 19, 2005 at 12:05:10PM CEST, I got a letter > where Martin Schlemmer <[EMAIL PROTECTED]> told me that... > > On Tue, 2005-04-19 at 11:28 +0200, Petr Baudis wrote: > > > Dear diary, on Tue, Apr 19, 2005 at 11:18:55AM CES

Re: [RFC] Another way to provide help details. (was Re: [PATCH] Add help details to git help command.)

2005-04-19 Thread David Greaves
Petr Baudis wrote: Dear diary, on Tue, Apr 19, 2005 at 03:40:54AM CEST, I got a letter where Steven Cole <[EMAIL PROTECTED]> told me that... Here is perhaps a better way to provide detailed help for each git command. A command.help file for each command can be written in the style of a man page.

Re: [darcs-devel] Darcs and git: plan of action

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, David Roundy wrote: > > Would a small amount of human-readable change information be acceptable in > the free-form comment area? In the rename thread I got the impression this > would be okay for renames. For example, > > rename foo bar Sure. That's human-readable and mea

Re: GIT Web Interface

2005-04-19 Thread Kay Sievers
On Tue, 2005-04-19 at 02:52 +0200, Petr Baudis wrote: > Dear diary, on Tue, Apr 19, 2005 at 02:44:15AM CEST, I got a letter > where Kay Sievers <[EMAIL PROTECTED]> told me that... > > I'm hacking on a simple web interface, cause I missed the bkweb too much. > > It can't do much more than browse thr

Re: [RFC] Another way to provide help details. (was Re: [PATCH] Add help details to git help command.)

2005-04-19 Thread Steven Cole
David Greaves wrote: Petr Baudis wrote: Dear diary, on Tue, Apr 19, 2005 at 03:40:54AM CEST, I got a letter where Steven Cole <[EMAIL PROTECTED]> told me that... Here is perhaps a better way to provide detailed help for each git command. A command.help file for each command can be written in the s

Re: [darcs-devel] Darcs and git: plan of action

2005-04-19 Thread Tupshin Harper
Linus Torvalds wrote: (In other words: if it looks like something a careful human _could_ have written, it's certainly ok. But if it looks like something a careful human would have used a script to generate 40 entries of, it's bad). Linus This is the way that darcs would currently represent a

Re: [darcs-devel] Darcs and git: plan of action

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, Tupshin Harper wrote: > > I suspect that any use of wildcards in a new format would be impossible > for darcs since it wouldn't allow darcs to construct dependencies, > though I'll leave it to david to respond to that. Note that git _does_ very efficiently (and I mean _ve

[PATCH] write-tree performance problems

2005-04-19 Thread Chris Mason
Hello everyone, I did a quick experiment with applying/commit 100 patches from the suse kernel into a kernel git tree, which quilt can do in 2 seconds. git needs 1m5s. The primary performance problem during each commit is write-tree recalculating the hash of each directory, even though the con

Re: GIT Web Interface

2005-04-19 Thread Greg KH
On Tue, Apr 19, 2005 at 05:59:45PM +0200, Kay Sievers wrote: > On Tue, 2005-04-19 at 02:52 +0200, Petr Baudis wrote: > > Dear diary, on Tue, Apr 19, 2005 at 02:44:15AM CEST, I got a letter > > where Kay Sievers <[EMAIL PROTECTED]> told me that... > > > I'm hacking on a simple web interface, cause I

Re: missing: git api, reference, user manual and mission statement

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 02:36:32PM CEST, I got a letter where Klaus Robert Suetterlin <[EMAIL PROTECTED]> told me that... > 1) There is no clear (e.g. by name) distinction between ``git as done > by Linus'', which is a kind of content addressable database with added > semantics, and ``g

Re: [script] ge: export commits as patches

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 03:48:43PM CEST, I got a letter where Ingo Molnar <[EMAIL PROTECTED]> told me that... > is there any 'export commit as patch' support in git-pasky? I didnt find > any such command (maybe it got added meanwhile), so i'm using the 'ge' > hack below. > > e.g. i t

Re: naive question

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 03:00:14PM CEST, I got a letter where Paul Mackerras <[EMAIL PROTECTED]> told me that... > Is there a way to check out a tree without changing the mtime of any > files that you have already checked out and which are the same as the > version you are checking out?

[PATCH] Makefile uses installed commit-id

2005-04-19 Thread Pavel Roskin
Hello! Current git-pasky cannot be compiled properly unless it's already installed. The rule for creating gitversion.sh requires commit-id in the PATH, which won't be there until "make install" is run. Also, commit-id runs gitXnormid.sh, which in turn runs cat-file. All of them should be from t

Re: [RFC] Another way to provide help details. (was Re: [PATCH] Add help details to git help command.)

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 04:41:34PM CEST, I got a letter where David Greaves <[EMAIL PROTECTED]> told me that... > If Petr wants the top comment to be extracted by help then maybe a > bottom comment block could contain the more complete text? > I *really* think that the user docs should

Re: GIT Web Interface

2005-04-19 Thread Kay Sievers
On Tue, Apr 19, 2005 at 09:52:48AM -0700, Greg KH wrote: > On Tue, Apr 19, 2005 at 05:59:45PM +0200, Kay Sievers wrote: > > On Tue, 2005-04-19 at 02:52 +0200, Petr Baudis wrote: > > > Dear diary, on Tue, Apr 19, 2005 at 02:44:15AM CEST, I got a letter > > > where Kay Sievers <[EMAIL PROTECTED]> tol

Re: [PATCH] write-tree performance problems

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, Chris Mason wrote: > > I did a quick experiment with applying/commit 100 patches from the suse > kernel > into a kernel git tree, which quilt can do in 2 seconds. git needs 1m5s. Note that I don't think you want to replace quilt with git. The approaches are totally diff

Re: [PATCH] Add help details to git help command. (This time with Perl)

2005-04-19 Thread Steven Cole
Petr Baudis wrote: Dear diary, on Mon, Apr 18, 2005 at 06:42:26AM CEST, I got a letter where Steven Cole <[EMAIL PROTECTED]> told me that... [snippage] This patch will provide the comment lines in the shell script associated with the command, cleaned up a bit for presentation. BUGS: This will also

Re: GIT Web Interface

2005-04-19 Thread Stéphane Fillod
Greg KH kroah.com> writes: [...] > Looks good, care to post the updated version? http://ehlo.org/~kay/ What about a git repo of gitweb? gitweb2.pl is nice with the browse function. BTW, but there's a '1' artefact right after the browse link in action=show_tree :-) Kay, your script is really

Re: naive question

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, Petr Baudis wrote: > > I'd actually prefer, if: > > (i) checkout-cache simply wouldn't touch files whose stat matches with > what is in the cache; it updates the cache with the stat informations > of touched files Run "update-cache --refresh" _before_ doing the "checkout-c

Re: GIT Web Interface

2005-04-19 Thread Greg KH
On Tue, Apr 19, 2005 at 07:32:42PM +0200, Kay Sievers wrote: > On Tue, Apr 19, 2005 at 09:52:48AM -0700, Greg KH wrote: > > On Tue, Apr 19, 2005 at 05:59:45PM +0200, Kay Sievers wrote: > > > On Tue, 2005-04-19 at 02:52 +0200, Petr Baudis wrote: > > > > Dear diary, on Tue, Apr 19, 2005 at 02:44:15AM

[PATCH] Better options in Makefile

2005-04-19 Thread Pavel Roskin
Hello! This patch allows to enable collision check and subsecond time resolution by uncommenting one line. Also, the corresponding comments have been improved. Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> --- a/Makefile +++ b/Makefile @@ -1,13 +1,18 @@ -# -DCOLLISION_CHECK if you believe tha

Re: [PATCH] Add help details to git help command. (This time with Perl)

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 07:35:15PM CEST, I got a letter where Steven Cole <[EMAIL PROTECTED]> told me that... > Example: ..snip a perfect-looking example.. > - > Speaking of 'git diff', I ran that before applying the following patch, > and got a diff starting thusly: > > --- /

Re: [PATCH] write-tree performance problems

2005-04-19 Thread Chris Mason
On Tuesday 19 April 2005 13:36, Linus Torvalds wrote: > On Tue, 19 Apr 2005, Chris Mason wrote: > > I did a quick experiment with applying/commit 100 patches from the suse > > kernel into a kernel git tree, which quilt can do in 2 seconds. git > > needs 1m5s. > > Note that I don't think you want t

Re: naive question

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, Linus Torvalds wrote: > > The real expense right now of a merge is that we always forget all the > stat information when we do a merge (since it does a read-tree). I have a > cunning way to fix that, though, which is to make "read-tree -m" read in > the old index state like

Re: Change "pull" to _only_ download, and "git update"=pull+merge?

2005-04-19 Thread Daniel Barkalow
On Tue, 19 Apr 2005, Petr Baudis wrote: > I disagree. This already forces you to have two branches (one to pull > from to get the data, mirroring the remote branch, one for your real > work) uselessly and needlessly. If you pull in a non-tracked tree, it certainly won't apply the changes, so you

Re: [PATCH] write-tree performance problems

2005-04-19 Thread Olivier Galibert
On Tue, Apr 19, 2005 at 10:36:06AM -0700, Linus Torvalds wrote: > In fact, git has all the same issues that BK had, and for the same > fundamental reason: if you do distributed work, you have to always > "append" stuff, and that means that you can never re-order anything after > the fact. You c

Re: [script] ge: export commits as patches

2005-04-19 Thread Ingo Molnar
* Petr Baudis <[EMAIL PROTECTED]> wrote: > Dear diary, on Tue, Apr 19, 2005 at 03:48:43PM CEST, I got a letter > where Ingo Molnar <[EMAIL PROTECTED]> told me that... > > is there any 'export commit as patch' support in git-pasky? I didnt find > > any such command (maybe it got added meanwhile),

Re: [PATCH] write-tree performance problems

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, Chris Mason wrote: > > Very true, you can't replace quilt with git without ruining both of them. > But > it would be nice to take a quilt tree and turn it into a git tree for merging > purposes, or to make use of whatever visualization tools might exist someday. > Fa

Re: [PATCH] Add help details to git help command. (This time with Perl)

2005-04-19 Thread David Greaves
Petr Baudis wrote: Dear diary, on Tue, Apr 19, 2005 at 07:35:15PM CEST, I got a letter where Steven Cole <[EMAIL PROTECTED]> told me that... I've been working on git.pl and getting help working nicely things to try: git.pl help git.pl add git.pl add --help git.pl add --man git.pl help add The main

Re: [script] ge: export commits as patches

2005-04-19 Thread Greg KH
On Tue, Apr 19, 2005 at 07:03:20PM +0200, Petr Baudis wrote: > Dear diary, on Tue, Apr 19, 2005 at 03:48:43PM CEST, I got a letter > where Ingo Molnar <[EMAIL PROTECTED]> told me that... > > is there any 'export commit as patch' support in git-pasky? I didnt find > > any such command (maybe it got

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Greg KH
On Mon, Apr 18, 2005 at 09:39:38PM -0700, Greg KH wrote: > Alright, let's try some small i2c and w1 patches... > > Could you merge with: > kernel.org/pub/scm/linux/kernel/git/gregkh/i2c-2.6.git/ Nice, it looks like the merge of this tree, and my usb tree worked just fine. So, what does thi

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, Greg KH wrote: > > Nice, it looks like the merge of this tree, and my usb tree worked just > fine. Yup, it all seems to work out. > So, what does this now mean? Is your kernel.org git tree now going to > be the "real" kernel tree that you will be working off of now? Shou

Re: [script] ge: export commits as patches

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 08:56:07PM CEST, I got a letter where Ingo Molnar <[EMAIL PROTECTED]> told me that... > and please fix gitXnormid.sh to simply echo nothing and return with a -1 > exit value when a nonsensical ID is passed to it. Right now the output > is quite ugly if you do '

[PATCH] Parametrize installation directory

2005-04-19 Thread Pavel Roskin
Hello! It shouldn't be necessary to patch Makefile to specify where scripts should be installed. This patch introduces a variable bindir for that purpose. The name of the variable was chosen for compatibility with projects using Automake. For example, to install scripts to /usr/local/bin use: m

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Greg KH
On Tue, Apr 19, 2005 at 12:40:44PM -0700, Linus Torvalds wrote: > I'm still working out some performance issues with merges (the actual > "merge" operation itself is very fast, but I've been trying to make the > subsequent "update the working directory tree to the right thing" be much > better). O

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, Greg KH wrote: > > Ok, if you want some practice with "real" merges, feel free to merge from > the following two trees whenever you are ready: > kernel.org/pub/scm/linux/kernel/git/gregkh/aoe-2.6.git/ > for 11 aoe bugfix patches, and: > kernel.org/pub/scm/linux/k

[PATCH] Better option parsing for gitdiff.sh

2005-04-19 Thread Pavel Roskin
Hello! This patch improves option handling for gitdiff.sh. Now "-p" doesn't need to precede "-r", although all options still have to be placed before the file names. Also, the patch introduces a minimal usage info for the script. The patch is against current git-pasky. Signed-off-by: Pavel Ros

[PATCH] init-db.c: fix stupid typo

2005-04-19 Thread Zach Welch
Fix a stupid typo from the last mkdir refactorng patch. init-db.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-Off-By: Zach Welch <[EMAIL PROTECTED]> --- a/init-db.c 2005-04-19 13:06:11.0 -0700 +++ a/init-db.c 2005-04-19 13:06:16.0 -0700 @@ -11,7 +11,7 @@

Re: [PATCH] Add help details to git help command. (This time with Perl)

2005-04-19 Thread Steven Cole
David Greaves wrote: Petr Baudis wrote: Dear diary, on Tue, Apr 19, 2005 at 07:35:15PM CEST, I got a letter where Steven Cole <[EMAIL PROTECTED]> told me that... I've been working on git.pl and getting help working nicely things to try: git.pl help git.pl add git.pl add --help git.pl add --man git.

Re: [PATCH] Add help details to git help command. (This time with Perl)

2005-04-19 Thread David Greaves
Steven Cole wrote: Speaking of "I think", the name "cogito" was suggested for the SCM layer, but IIRC Linus suggested staying with just plain git. Petr suggested tig, perhaps because it looks at git from another point of view. I haven't read _all_ the mails - I thought cogito was kinda selected and

Re: [PATCH] write-tree performance problems

2005-04-19 Thread Chris Mason
On Tuesday 19 April 2005 15:03, Linus Torvalds wrote: > On Tue, 19 Apr 2005, Chris Mason wrote: > > Very true, you can't replace quilt with git without ruining both of them. > > But it would be nice to take a quilt tree and turn it into a git tree > > for merging purposes, or to make use of whatev

wit 0.0.2 - a web interface for git available

2005-04-19 Thread Christian Meder
Hi, I've uploaded a new wit to http://www.absolutegiganten.org/wit Wit is a web interface for git. Right now it includes: views of blob, commit and tree objects, generating patches for the commits, downloading of gz or bzip2 tarballs of trees. It's easy to setup and a simple stand alone server c

Re: [PATCH] write-tree performance problems

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, Chris Mason wrote: > > Regardless, putting it into the index somehow should be fastest, I'll see > what > I can do. Start by putting it in at "read-tree" time, and adding the code to invalidate all parent directory indexes when somebody changes a file in the index (ie "up

Bug in merge-base

2005-04-19 Thread Petr Baudis
Hello, I've hit a strange bug in merge-base I don't want to debug now. ;-) I've been doing my regular git pull test from my main branch, but suddenly git merge wanted to do a tree merge instead of fast-forward. What went wrong? The commits tree looks like: 36c764 -- 808162 -- .. -- 8

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Greg KH
On Tue, Apr 19, 2005 at 01:20:47PM -0700, Linus Torvalds wrote: > > > On Tue, 19 Apr 2005, Greg KH wrote: > > > > Ok, if you want some practice with "real" merges, feel free to merge from > > the following two trees whenever you are ready: > > kernel.org/pub/scm/linux/kernel/git/gregkh/aoe-2

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, Greg KH wrote: > > It looks like your domain name isn't set up properly for your box (which > is why it worked for you, but not me before, causing that patch). No, I think it's a bug in your domainname changes. I don't think you should do the domainname at all if the hostna

Re: [darcs-devel] Darcs and git: plan of action

2005-04-19 Thread Patrick McFarland
On Monday 18 April 2005 10:05 pm, Kevin Smith wrote: > The big feature of a darcs replace patch is that it works forward and > backward in time. Let me try to come up with an example that can help > explain it. Hopefully I'll get it right. Let's start with a file like > this that exists in a projec

Re: [PATCH] write-tree performance problems

2005-04-19 Thread David Lang
On Tue, 19 Apr 2005, Linus Torvalds wrote: On Tue, 19 Apr 2005, Chris Mason wrote: Very true, you can't replace quilt with git without ruining both of them. But it would be nice to take a quilt tree and turn it into a git tree for merging purposes, or to make use of whatever visualization tools m

Re: [PATCH] write-tree performance problems

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, David Lang wrote: > > what if you turned the forest of quilt patches into a forest of git trees? > (essentially applying each patch against the baseline seperatly) would > this make sense or be useful? It has a certain charm, but the fact is, it gets really messy to sort

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Steven Cole
Linus Torvalds wrote: On Tue, 19 Apr 2005, Greg KH wrote: Nice, it looks like the merge of this tree, and my usb tree worked just fine. Yup, it all seems to work out. [many files patched] patching file mm/mmap.c patching file net/bridge/br_sysfs_if.c patching file scripts/ver_linux ---

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Martin Schlemmer
On Tue, 2005-04-19 at 15:00 -0700, Linus Torvalds wrote: > > On Tue, 19 Apr 2005, Greg KH wrote: > > > > It looks like your domain name isn't set up properly for your box (which > > is why it worked for you, but not me before, causing that patch). > > No, I think it's a bug in your domainname ch

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Daniel Jacobowitz
On Tue, Apr 19, 2005 at 03:00:04PM -0700, Linus Torvalds wrote: > > > On Tue, 19 Apr 2005, Greg KH wrote: > > > > It looks like your domain name isn't set up properly for your box (which > > is why it worked for you, but not me before, causing that patch). > > No, I think it's a bug in your dom

Re: SHA1 hash safety

2005-04-19 Thread David Meybohm
On Mon, Apr 18, 2005 at 12:43:23AM -0700, Andy Isaacson wrote: > > I'm not going to do the sums, but I would hazard a guess that it's more > likely your PC suffered a cosmic-ray-induced memory fault - EACH OF THE > FOUR TIMES YOU TESTED IT - causing it to report the same MD5, than that > you actua

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Greg KH
On Tue, Apr 19, 2005 at 06:27:38PM -0400, Daniel Jacobowitz wrote: > On Tue, Apr 19, 2005 at 03:00:04PM -0700, Linus Torvalds wrote: > > > > > > On Tue, 19 Apr 2005, Greg KH wrote: > > > > > > It looks like your domain name isn't set up properly for your box (which > > > is why it worked for you

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Petr Baudis
Dear diary, on Wed, Apr 20, 2005 at 12:19:01AM CEST, I got a letter where Steven Cole <[EMAIL PROTECTED]> told me that... > Linus Torvalds wrote: > > > >On Tue, 19 Apr 2005, Greg KH wrote: > > > >>Nice, it looks like the merge of this tree, and my usb tree worked just > >>fine. > > > > > >Yup, it a

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Linus Torvalds
On Tue, 19 Apr 2005, Steven Cole wrote: > > But perhaps a progress bar right about here might be > a good thing for the terminally impatient. > > real3m54.909s > user0m14.835s > sys 0m10.587s > > 4 minutes might be long enough to cause some folks to lose hope. Well, the real operat

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 10:20:47PM CEST, I got a letter where Linus Torvalds <[EMAIL PROTECTED]> told me that... > Pasky? Can you check my latest git stuff, notably read-tree.c and the > changes to git-pull-script? I've made git merge to use read-tree -m, HTH. I will probably not buy

Re: Change "pull" to _only_ download, and "git update"=pull+merge?

2005-04-19 Thread David A. Wheeler
Daniel Barkalow wrote: >See, I don't think you ever want to just pull. You want to >pull-and-do-something, but the something could be any operation... In a _logical_ sense that's true; I'd only want to pull data if I intended to (possibly) do something with it. But as a _practical_ matter, I can s

Re: [darcs-devel] Darcs and git: plan of action

2005-04-19 Thread Ray Lee
(Sorry for the delayed reply -- I'm living on tape delay for a bit.) On Mon, 2005-04-18 at 22:05 -0400, Kevin Smith wrote: > The other is "replace very instace of identifier `foo` with > identifier`bar`". > >>> > >>>That could be derived, however, by a particularly smart parser [1]. > >>

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

2005-04-19 Thread Linus Torvalds
On Wed, 20 Apr 2005, Martin Schlemmer wrote: > > Correct me if I am wrong, but the right way to do this is to set the > hostname to just that - the hostname, and add 'domain foo.com' > to /etc/resolv.conf. I'll correct you. The fact is, that's not what people do. Not me, not kernel.org, not _

  1   2   >