Re: symlinked directories in refs are now unreachable

2005-08-16 Thread Junio C Hamano
Matt Draisey [EMAIL PROTECTED] writes: On Sun, 2005-08-14 at 22:12 -0700, Junio C Hamano wrote: I would like to know a use case or two to illustrate why there are symlinks pointing at real files outside .git/refs/ hierarchy, and how that arrangement is useful. ... This email is a bit

Re: Git 1.0 Synopis (Draft v4)

2005-08-16 Thread Junio C Hamano
Daniel Barkalow [EMAIL PROTECTED] writes: It might be worth putting the list of things left to do before 1.0 in the tree (since they clearly covary), and it would be useful to know what you're thinking of as preventing the release at any particular stage. Yeah, yeah. Call me lazy.

Re: Git 1.0 Synopis (Draft v4)

2005-08-16 Thread Johannes Schindelin
Hi, On Tue, 16 Aug 2005, Junio C Hamano wrote: - Glossary documentation Johannes Schindelin is working on. Yeah, yeah. Call _me_ lazy :-) I'll try to come up with a discussable item today. - git prune and git fsck-cache; think about their interactions with an object database that

Re: Git 1.0 Synopis (Draft v4)

2005-08-16 Thread Dongsheng Song
Hi, Is there any guide or advise for deploy git server ? How do I set repository permissions correctly? cauchy - To unsubscribe from this list: send the line unsubscribe git in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

about git server permissions

2005-08-16 Thread Dongsheng Song
Hi, Is there any guide or advise for deploy git server ? Especially http/https/ssh server. How do I set repository permissions correctly? cauchy - To unsubscribe from this list: send the line unsubscribe git in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH] Add merge detection to git-cvsimport

2005-08-16 Thread Martin Langhoff
[PATCH] Add merge detection to git-cvsimport Added -m and -M flags for git-cvsimport to detect merge commits in cvs. While this trusts the commit message, in repositories where merge commits indicate 'merged from FOOBRANCH' the import works surprisingly well. Even if some merges from CVS are

Importing from CVS issues

2005-08-16 Thread Alex Bennee
Hi, We've been having issues with CVS for some time and I thought I'd give git a spin. To do some like-for-like tests I'm having a go at importing our cvs repository into git so I can do some benchmarks on things like branch creation as well as play around with the visualisation tools. Obviously

Re: [PATCH] Add merge detection to git-cvsimport

2005-08-16 Thread Sven Verdoolaege
On Tue, Aug 16, 2005 at 10:35:27PM +1200, Martin Langhoff wrote: + +sub get_headref($$) { If you want to check whether a ref is valid, then it is better to use git-rev-parse... +my $name= shift; +my $git_dir = shift; +my $sha; + +if

Re: Importing from CVS issues

2005-08-16 Thread Martin Langhoff
I haven't seen this problem myself. There are some recent patches Junio merged that handle some oddities better. Give the 'pu' branch a go if you can. I take it that the repo is not public. I'd like to try and reproduce the problem. Can you get it to happen with a public repository? For

Re: [PATCH] Add -k kill keyword expansion option to git-cvsimport

2005-08-16 Thread Martin Langhoff
On 8/16/05, Junio C Hamano [EMAIL PROTECTED] wrote: However, the -kk change one is a corrupted patch and does not apply. Your MUA ate leading whitespaces, perhaps. I stupidly did a forward. Rebased to your current pu branch and sent. From now on I'll be sending straight from cmdline. I have

Re: Importing from CVS issues

2005-08-16 Thread David Kågedal
Alex Bennee [EMAIL PROTECTED] writes: Before the import script finally dies with: WARNING: revision 1.3.2.1 of file scripts/xmltools/t/data/gzip/DO-NOT-BACKUP on unnamed branch DONE; creating master branch cp: cannot stat `/export/test/cvstogit/.git/refs/heads/origin': No such file or

Re: Importing from CVS issues

2005-08-16 Thread Alex Bennee
On Tue, 2005-08-16 at 14:16 +0200, David Kågedal wrote: Alex Bennee [EMAIL PROTECTED] writes: Before the import script finally dies with: WARNING: revision 1.3.2.1 of file scripts/xmltools/t/data/gzip/DO-NOT-BACKUP on unnamed branch DONE; creating master branch cp: cannot stat

Submitting patches w/ Thunderbird [was: Re: [PATCH] Add SubmittingPatches]

2005-08-16 Thread A Large Angry SCM
Johannes Schindelin wrote: Hi, On Mon, 15 Aug 2005, Junio C Hamano wrote: Johannes Schindelin [EMAIL PROTECTED] writes: Maybe we should enhance git-applymbox to detect whitespace corruption in particular, and output the User-Agent header (or if that does not exist, the Message-ID header;

Re: Git 1.0 Synopis (Draft v4)

2005-08-16 Thread Johannes Schindelin
Hi, On Tue, 16 Aug 2005, Junio C Hamano wrote: - Are all the files in Documentation/ reachable from git(7) or otherwise made into a standalone document using asciidoc by the Makefile? I haven't looked into documentation generation myself (I use only the text files as they

Re: Git 1.0 Synopis (Draft v4)

2005-08-16 Thread Daniel Barkalow
On Tue, 16 Aug 2005, Johannes Schindelin wrote: Hi, On Tue, 16 Aug 2005, Junio C Hamano wrote: - Are all the files in Documentation/ reachable from git(7) or otherwise made into a standalone document using asciidoc by the Makefile? I haven't looked into documentation

Re: Importing from CVS issues

2005-08-16 Thread Alex Bennee
On Tue, 2005-08-16 at 23:26 +1200, Martin Langhoff wrote: I haven't seen this problem myself. There are some recent patches Junio merged that handle some oddities better. Give the 'pu' branch a go if you can. I'll look at that in a bit. I already picked up a few of the patches mentioned on the

Re: Making note, in the repository, of push/pull relationships

2005-08-16 Thread Carl Baldwin
On Mon, Aug 15, 2005 at 05:18:43PM -0700, Junio C Hamano wrote: If you are referring to what I said about the user having some control over both ends hence it should be possible to arrange to use the same name on both ends to reduce mental burden, Pasky and others convinced me otherwise during

Re: [PATCH] Add git-branches-script

2005-08-16 Thread Kalle Valo
Amos Waterland [EMAIL PROTECTED] writes: For people whose workflow involves switching back and forth between a lot of branches, it can be really helpful to be able to quickly tell which branch you are on and which ones are available. This patch introduces a small script that when invoked as

[PATCH] Change git-branch to list branches

2005-08-16 Thread Kalle Valo
If no argument provided to `git branch`, show available branches and mark current branch with star. This is based on patch written by Amos Waterland [EMAIL PROTECTED]. Signed-off-by: Kalle Valo [EMAIL PROTECTED] --- git-branch-script |8 +++- 1 files changed, 7 insertions(+), 1

[PATCH] Make tools use DESTDIR as well (otherwise rpm build is broken)

2005-08-16 Thread Chris Wright
Please pull from: rsync.kernel.org://pub/scm/linux/kernel/git/chrisw/git This will give you the following trivial fix for the rpm build, where tools was still using dest not DESTDIR. thanks, -chris -- diff-tree 5eaaed02111510ff00b288a99ec3d203d5d1761f (from

Re: [PATCH] Alternate object pool mechanism updates.

2005-08-16 Thread Linus Torvalds
On Sun, 14 Aug 2005, Junio C Hamano wrote: Linus Torvalds [EMAIL PROTECTED] writes: I think this is great - especially for places like kernel.org, where a lot of repos end up being related to each other, yet independent. Yes. There is one shortcoming in the current git-clone -s in

Re: [PATCH] Alternate object pool mechanism updates.

2005-08-16 Thread Daniel Barkalow
On Tue, 16 Aug 2005, Linus Torvalds wrote: Finally, I have to say that that info directory is confusing. Namely, there's two of them - the git info and the object info directories are totally different directories - maybe logical, but to me it smells like info is here a code-name for misc

Re: [RFC] Patches exchange is bad?

2005-08-16 Thread Johannes Schindelin
Hi, On Tue, 16 Aug 2005, Marco Costalba wrote: Suppose a possible scenario involves using a couple of git archives, one for releases and stable code, say MAIN, and one for experimental stuff or new development, say HEAD. Suppose there is stuff in HEAD you don't want merged in MAIN,

Re: [PATCH] Alternate object pool mechanism updates.

2005-08-16 Thread Junio C Hamano
Linus Torvalds [EMAIL PROTECTED] writes: Btw, looking at the code, it strikes me that using : to separate the alternate object directories in the file is rather strange. Yes, I admit it one was done in a quick and dirty way. Patches welcome [*1*] ;-) Anyway, I don't think alternates is

Re: Git 1.0 Synopis (Draft v4)

2005-08-16 Thread Johannes Schindelin
Hi, On Tue, 16 Aug 2005, Horst von Brand wrote: And teach make(1) about checking out files from git... or just create a co(1) command for git. How about git-checkout-script, optionally with the -f flag to ignore changes since the last checkout/checkin? Ciao, Dscho - To unsubscribe from

Re: Making note, in the repository, of push/pull relationships

2005-08-16 Thread Johannes Schindelin
Hi, On Tue, 16 Aug 2005, Carl Baldwin wrote: So, just a question. What, exactly, is meant by 'cross-pulling'? When I say cross-pulling I mean that a branch is pulled from a remote repository, where the named head is called a, but that reference is pulled into the local branch whose head is

Re: [PATCH] Change git-branch to list branches

2005-08-16 Thread Junio C Hamano
Kalle Valo [EMAIL PROTECTED] writes: If no argument provided to `git branch`, show available branches and mark current branch with star. I like the general direction, but this particular implementation may be a bit troublesome. +if [ -z $branchname ]; then +current=$(basename $(readlink

Re: Making note, in the repository, of push/pull relationships

2005-08-16 Thread Junio C Hamano
Carl Baldwin [EMAIL PROTECTED] writes: If I may, let me give an example of something I think could serve the purpose a little more simply and generically. Let's say I start with the following: % ls .git/refs/heads master mylocalbranch myremotebranch ko-master % cat

[PATCH] cg-admin-cat ignoring -r

2005-08-16 Thread Pavel Roskin
Hello! cg-admin-cat ignores the argument for the -r option because it uses optparse incorrectly. For OPTARG to be set, -r= should be used instead of -r. Signed-off-by: Pavel Roskin [EMAIL PROTECTED] diff --git a/cg-admin-cat b/cg-admin-cat --- a/cg-admin-cat +++ b/cg-admin-cat @@ -27,7 +27,7

Re: [RFC] Patches exchange is bad?

2005-08-16 Thread Martin Langhoff
On 8/17/05, Marco Costalba [EMAIL PROTECTED] wrote: What do you think? From what I understand, you'll want the StGIT infrastructure. If you use git/cogito, there is an underlying assumption that you'll want all the patches merged across, and a simple cg-update will bring in all the pending

Re: [PATCH] Add merge detection to git-cvsimport

2005-08-16 Thread Martin Langhoff
On 8/16/05, Sven Verdoolaege [EMAIL PROTECTED] wrote: On Tue, Aug 16, 2005 at 10:35:27PM +1200, Martin Langhoff wrote: + +sub get_headref($$) { If you want to check whether a ref is valid, then it is better to use git-rev-parse... We are reading/writing directly to .git/refs/heads/ a lot

Re: [RFC] Patches exchange is bad?

2005-08-16 Thread Marco Costalba
Junio C Hamano wrote: I would like to know a bit about git format-patch adding extra info that you needed to get rid of. It shouldn't be necessary. As example, in the rev d5a63b99835017d2638e55a7e34a35a3c1e80f1f from git the original subject is: ' Alternate object pool mechanism updates.'

Re: [PATCH] Alternate object pool mechanism updates.

2005-08-16 Thread Junio C Hamano
Linus Torvalds [EMAIL PROTECTED] writes: We've got a git prune-packed, it would be good to have a git prune-alternate or something equivalent. If you have GIT_ALTERNATE_DIRECTORIES environment variable, git prune-packed will remove objects from your repository if it is found in somebody else's

[PATCH] git-format-patch fix

2005-08-16 Thread Junio C Hamano
Introduces --keep-subjects flag to tell it not to munge the first line of the commit message. Running git applymbox on the output from git format-patch -m -k would preserve the original commit information better this way. At the same time, prefix Subject: on the first line of the commit, to help

FUNKY tags.

2005-08-16 Thread Dave Jones
I just tried a cvs-git conversion using the git-cvsimport-script and cvsps flagged a bunch of tags as **FUNKY** I've no idea what I did when I tagged those trees, but according to a google search, cvsps does that when it find patchsets which are chronologically (and thus by patchset id) earlier

[RFC PATCH] Add support for figuring out where in the git archive we are

2005-08-16 Thread Linus Torvalds
This does only git-diff-cache and git-diff-files, but the concept should work for any command that uses the working tree. Signed-off-by: Linus Torvalds [EMAIL PROTECTED] --- This is really partly a serious patch, but also just a query whether people would want git to work in subdirectories,

Re: Making note, in the repository, of push/pull relationships

2005-08-16 Thread Carl Baldwin
On Tue, Aug 16, 2005 at 02:09:08PM -0700, Junio C Hamano wrote: And presumably you have .git/branches/myremotebranch file that says something like master.kernel.org:/pub/scm/git/git.git. Or should the last line of relationships file be spelled just push:master:ko-master? Oops, I did intend to

Re: [RFC PATCH] Add support for figuring out where in the git archive we are

2005-08-16 Thread Yasushi SHOJI
At Tue, 16 Aug 2005 15:45:35 -0700 (PDT), Linus Torvalds wrote: This is really partly a serious patch, but also just a query whether people would want git to work in subdirectories, not just the top-level directory. So you can be in linux/drivers, and if you do a git-diff-files

Re: gitweb - option to disable rename detection

2005-08-16 Thread Yasushi SHOJI
At Mon, 15 Aug 2005 15:43:26 -0700 (PDT), Linus Torvalds wrote: On Tue, 16 Aug 2005, Yasushi SHOJI wrote: Instead of disabling it entirely, how about just having some limit on it? ah, that's a good idea. here is a quick and dirty patch. This makes it somewhat more expensive. yes.

Re: [RFC PATCH] Add support for figuring out where in the git archive we are

2005-08-16 Thread Junio C Hamano
Linus Torvalds [EMAIL PROTECTED] writes: If you use the GIT_DIR environment variable approach, it assumes that all filenames you give it are absolute and acts the way it always did before. Comments? Like? Dislike? Comments: Wouldn't that mean git-*-scripts would not benefit from this

Re: [RFC PATCH] Add support for figuring out where in the git archive we are

2005-08-16 Thread Linus Torvalds
On Tue, 16 Aug 2005, Junio C Hamano wrote: Comments: Wouldn't that mean git-*-scripts would not benefit from this because git-sh-setup would set GIT_DIR for you even if you don't? As it stands now, yes. But the point being that if people like this, then I'll just

Re: sending changesets from the middle of a git tree

2005-08-16 Thread Wolfgang Denk
Hello, in message [EMAIL PROTECTED] you wrote: This is the kind of situation I used to have all the time when Linus was the maintainer and I was a contributor, when you look at master branch being the maintainer branch, and pu branch being the contributor branch. Your work started at the

Re: [RFC PATCH] Add support for figuring out where in the git archive we are

2005-08-16 Thread Junio C Hamano
Linus Torvalds [EMAIL PROTECTED] writes: Do you want to take the current patch (which buys you very little because not a lot of stuff has been set up to deal with it, but is the basis for all future work anyway) or do you want me to polish it up a bit and re-submit the whole thing? The

Re: [RFC PATCH] Add support for figuring out where in the git archive we are

2005-08-16 Thread Daniel Barkalow
On Tue, 16 Aug 2005, Linus Torvalds wrote: If you use the GIT_DIR environment variable approach, it assumes that all filenames you give it are absolute and acts the way it always did before. Comments? Like? Dislike? I'm all in favor, at least in the general case. I suspect there'll be some

Re: FUNKY tags.

2005-08-16 Thread Martin Langhoff
On 8/17/05, Dave Jones [EMAIL PROTECTED] wrote: I've no idea what I did when I tagged those trees, but according to a google search, cvsps does that when it find patchsets which are chronologically (and thus by patchset id) earlier than the tag, but are tagwise after. Spooky. It's probably

Re: sending changesets from the middle of a git tree

2005-08-16 Thread Junio C Hamano
Wolfgang Denk [EMAIL PROTECTED] writes: external diff died, stopping at common/cmd_nand.c. Some commits could not be rebased, check by hand: 67a002cbe2b2850d76d797e679bc290a7df6 OK, I can edit the file to resolve the conflicts. But what do I do then to continue?

Re: [RFC PATCH] Add support for figuring out where in the git archive we are

2005-08-16 Thread Linus Torvalds
On Tue, 16 Aug 2005, Junio C Hamano wrote: The developement history would look nicer if you did the latter, but I am easy and can go either way. Here is. I'd do at least the git-diff-tree part and the ./ and ../ handling, and convert at least the git diff thing to the new world order

Re: [RFC PATCH] Add support for figuring out where in the git archive we are

2005-08-16 Thread Junio C Hamano
Linus Torvalds [EMAIL PROTECTED] writes: Mostly done. It actually works from inside subdirectories, but . at the top-level is still not done. Small detail. Will fix later. But it would help if you would apply this, since I'm going to be off for dinner.. Merged, pushed out, and tested. Ouch.

Re: symlinked directories in refs are now unreachable

2005-08-16 Thread Matt Draisey
On Sun, 2005-08-14 at 22:12 -0700, Junio C Hamano wrote: I would like to know a use case or two to illustrate why there are symlinks pointing at real files outside .git/refs/ hierarchy, and how that arrangement is useful. I've clearly laid out my case very badly. Here is the patch via sed $

Re: FUNKY tags.

2005-08-16 Thread Dave Jones
On Wed, Aug 17, 2005 at 12:55:18PM +1200, Martin Langhoff wrote: On 8/17/05, Dave Jones [EMAIL PROTECTED] wrote: I've no idea what I did when I tagged those trees, but according to a google search, cvsps does that when it find patchsets which are chronologically (and thus by patchset

Re: [RFC PATCH] Add support for figuring out where in the git archive we are

2005-08-16 Thread Linus Torvalds
On Tue, 16 Aug 2005, Junio C Hamano wrote: Merged, pushed out, and tested. Ouch. Fails on t test. It's because the new git-diff-files expects there to be a valid readable .git/HEAD, and is unhappy since the test hasn't updated HEAD. This trivial patch fixes it. Linus

[PATCH] Be consistent in naming of remote heads

2005-08-16 Thread Kris Shannon
The _remote_name variable used for messages does not need the refs/heads/ prefix included. Signed-off-by: Kris Shannon [EMAIL PROTECTED] --- git-parse-remote |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 9e7a4358b1792be188df87debf564e46acdb39d4 diff --git a/git-parse-remote

Re: gitk with hyperspace support

2005-08-16 Thread Linus Torvalds
On Wed, 17 Aug 2005, Paul Mackerras wrote: I would like to get some feedback about what people think of the visual effect of this new approach, and in particular whether having the lines jump into hyperspace loses information that people find useful. Me likee. Maybe some knob to tune how

Re: Improve handling of . and .. in git-diff-*

2005-08-16 Thread Linus Torvalds
On Tue, 16 Aug 2005, Linus Torvalds wrote: This fixes up usage of .. (without an ending slash) and . (with or without the ending slash) in the git diff family. Btw, if it wasn't clear, with this patch you can now do git diff . and it will show the diffs for everything under the

[PATCH] commit-id, tree-id fail on tags

2005-08-16 Thread Pavel Roskin
Hello! Tag names don't work with current cogito because commit-id and tree-id don't parse the cg-Xnormid output properly. Namely, if $type is empty (which is the case for tags), $normid is used before the trailing space is stripped from it. Signed-off-by: Pavel Roskin [EMAIL PROTECTED] diff

Re: [RFC PATCH] Add support for figuring out where in the git archive we are

2005-08-16 Thread Junio C Hamano
Linus Torvalds [EMAIL PROTECTED] writes: On Tue, 16 Aug 2005, Junio C Hamano wrote: Merged, pushed out, and tested. Ouch. Fails on t test. It's because the new git-diff-files expects there to be a valid readable .git/HEAD, and is unhappy since the test hasn't updated HEAD. Ah, good

[PATCH] Add --symbolic flag to git-rev-parse.

2005-08-16 Thread Junio C Hamano
This is most useful with --all, --revs-only, --no-flags and --verify. Signed-off-by: Junio C Hamano [EMAIL PROTECTED] --- With this, git-rev-parse --symbolic master pu would output master pu. Why would this be useful? The next one uses it. rev-parse.c | 30

[PATCH] Pass options to underlying git-rev-list from show-branches.

2005-08-16 Thread Junio C Hamano
This lets you say git show-branches --max-count=30. Signed-off-by: Junio C Hamano [EMAIL PROTECTED] --- And this is how --symbolic is used to pick out the named rev parameters. git-show-branches-script | 24 1 files changed, 16 insertions(+), 8 deletions(-)

[PATCH] Teach applymbox to keep the Subject: line.

2005-08-16 Thread Junio C Hamano
This is a companion patch to the previous format-patch fix. With -k, format-patch can be told not to remove the [PATCH] in the original commit, nor to add the [PATCH] on its own. However, applymbox toolchain has a code to remove [PATCH] (among other things) from the Subject: line, which is the

[PATCH] Use LF and allow comments in objects/info/alternates file.

2005-08-16 Thread Junio C Hamano
Yes, using the same format for the file and the environment variable was a big mistake. This uses LF as the path separator, and allows lines that begin with '#' to be comments. ':' is no longer a separator in objects/info/alternates file. Signed-off-by: Junio C Hamano [EMAIL PROTECTED] ---

[PATCH] NFS: Ensure ACL xdr code doesn't overflow.

2005-08-16 Thread Linux Kernel Mailing List
tree 24edbecfb5875cf6c602b1fd5126c7dfce9ae127 parent 75cd968ab251ac84dd3a5dc252af7036dc4a64f4 author Trond Myklebust [EMAIL PROTECTED] Thu, 11 Aug 2005 02:15:12 -0400 committer Linus Torvalds [EMAIL PROTECTED] Tue, 16 Aug 2005 22:52:11 -0700 [PATCH] NFS: Ensure ACL xdr code doesn't overflow.

[PATCH] NFS: Ensure we always update inode-i_mode when doing O_EXCL creates

2005-08-16 Thread Linux Kernel Mailing List
tree 76a2e4f645d09b2e59b485fb2aea0af45234 parent 367ae3cd74bdc2ad32d71293427fec570b14ddcd author Trond Myklebust [EMAIL PROTECTED] Tue, 16 Aug 2005 19:49:44 -0400 committer Linus Torvalds [EMAIL PROTECTED] Tue, 16 Aug 2005 23:30:58 -0700 [PATCH] NFS: Ensure we always update inode-i_mode when

[PATCH] i386 / desc_empty macro is incorrect

2005-08-16 Thread Linux Kernel Mailing List
tree d202ce6d6529fe23e950e24cd04b4d562f28705e parent 5153f7e6dba37390902c8fd3edc9a8cc19358ece author Zachary Amsden [EMAIL PROTECTED] Wed, 17 Aug 2005 02:05:09 -0700 committer Linus Torvalds [EMAIL PROTECTED] Wed, 17 Aug 2005 02:18:01 -0700 [PATCH] i386 / desc_empty macro is incorrect Chuck

[PATCH] PCI Hotplug: new contact info

2005-08-16 Thread Linux Kernel Mailing List
tree 1ed9def7b77b9354032fd734a3dde43bea8b8e2d parent 4b47b0eefc37fe3bf6bffb4507c8b6df5b14348d author Kristen Accardi [EMAIL PROTECTED] Wed, 17 Aug 2005 05:16:10 -0700 committer Linus Torvalds [EMAIL PROTECTED] Wed, 17 Aug 2005 11:06:24 -0700 [PATCH] PCI Hotplug: new contact info Signed-off-by:

[PATCH] PCI: update documentation

2005-08-16 Thread Linux Kernel Mailing List
tree ad2a10d8651ea18b0b54a8fa4657e70621a7418e parent 8cf4c19523b7694c88bba716d88fb659fa702411 author Jiri Slaby [EMAIL PROTECTED] Wed, 17 Aug 2005 05:16:26 -0700 committer Linus Torvalds [EMAIL PROTECTED] Wed, 17 Aug 2005 11:06:25 -0700 [PATCH] PCI: update documentation This removes very old