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

2005-07-24 Thread Marco Costalba
Junio C Hamano wrote: >The list of patterns that is in effect at a given time is >built and ordered in the following way: > > * --exclude= and lines read from --exclude-from= > come at the beginning of the list of patterns, in the order > given on the command line. Patterns that come from th

[PATCH] debian/ binary package dependency fix.

2005-07-24 Thread Junio C Hamano
Make sure that the binary debian package depends on shlibs it uses. This point was raised by Alexey Nezhdanov. The "Depends:" line in debian/control lacked ${shlibs:Depends}, which caused the resulting binary package not to depend on libcurl3 nor even libc6 ;-). Signed-off-by: Junio C Hamano <[E

Re: [PATCH] Add support for directories to git-rename-script.

2005-07-24 Thread Junio C Hamano
Ryan Anderson <[EMAIL PROTECTED]> writes: > +open(F,"-|","git-ls-files") > + or die "Failed to open pipe from git-ls-files: " . $!; > + > [EMAIL PROTECTED] = ; > +close(F); We can afford to handle funny characters in the filename right without pain in Perl, so let's do it right: use vars

[PATCH] Update the documentation for git-tag-script to reflect current behavior.

2005-07-24 Thread Ryan Anderson
Signed-off-by: Ryan Anderson <[EMAIL PROTECTED]> --- Documentation/git-tag-script.txt | 12 1 files changed, 8 insertions(+), 4 deletions(-) 8f1801c948cbf1187a192df1656709689ba46d61 diff --git a/Documentation/git-tag-script.txt b/Documentation/git-tag-script.txt --- a/Documentati

[PATCH] Add documentation for git-rename-script

2005-07-24 Thread Ryan Anderson
Signed-off-by: Ryan Anderson <[EMAIL PROTECTED]> --- Documentation/git-rename-script.txt | 34 ++ 1 files changed, 34 insertions(+), 0 deletions(-) create mode 100644 Documentation/git-rename-script.txt 715924203401309ceb2f696e507b8b2c18244d08 diff --git a/Doc

Re: [PATCH] Add git-find-new-files to spot files added to the tree, but not the repository

2005-07-24 Thread Ryan Anderson
On Sat, Jul 23, 2005 at 10:48:39AM -0700, Linus Torvalds wrote: > > Oh, and btw, maybe you didn't realize that "git-ls-files --others" already > basically does what your script does? Without any filtering - it was meant > to be run from a script, so something like That's exactly what I was miss

[PATCH] Add support for directories to git-rename-script.

2005-07-24 Thread Ryan Anderson
Oh, and in the process, rewrite it in Perl. Signed-off-by: Ryan Anderson <[EMAIL PROTECTED]> --- git-rename-script | 68 + 1 files changed, 63 insertions(+), 5 deletions(-) f46717f9116bba7efb6a10ed99cd2fcea00fe5da diff --git a/git-rename-sc

Re: [PATCH] Deb Packaging fixes: Build against Mozilla libs for Debian, conflict with "git"

2005-07-24 Thread Ryan Anderson
On Sat, Jul 23, 2005 at 11:12:22PM -0700, Junio C Hamano wrote: > Alexey Nezhdanov <[EMAIL PROTECTED]> writes: > > > Satturday, 23 July 2005 23:26 Ryan Anderson wrote: > >> -Depends: ${misc:Depends}, shellutils, diff, rsync, rcs > >> +Depends: ${misc:Depends}, patch, diff, rsync, rcs, ssh > > Did

[PATCH] Documentation: describe git-ls-files --exclude patterns.

2005-07-24 Thread Junio C Hamano
Signed-off-by: Junio C Hamano <[EMAIL PROTECTED]> --- Documentation/git-ls-files.txt | 96 ++-- 1 files changed, 92 insertions(+), 4 deletions(-) d9296497b70d9007da94cec453ecb5c6c7173140 diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-file

[PATCH] git-ls-files: --exclude mechanism updates.

2005-07-24 Thread Junio C Hamano
Add --exclude-per-directory= option that specifies a file to contain exclude patterns local to that directory and its subdirectories. Update the exclusion logic to be able to say "include files that match this more specific pattern, even though later exclude patterns may match them". Also enhance

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

2005-07-24 Thread Junio C Hamano
Petr Baudis <[EMAIL PROTECTED]> writes: > Yes. There were several discussions about this in the past, with no > clear outcome, IIRC. I would prefer: > > ~/.git/ignore per-user > /.git/ignore per-repository > .gitignore per-directory (cummulative with parent directories) > > Note that I also

Re: Should cg-mkpatch output be usable with cg-patch?

2005-07-24 Thread Petr Baudis
Dear diary, on Sun, Jul 24, 2005 at 07:50:18PM CEST, I got a letter where Wolfgang Denk <[EMAIL PROTECTED]> told me that... > In message <[EMAIL PROTECTED]> you wrote: > > > > > I wander what I should do with "cg-mkpatch" generated output; I had > > > the impression that this should be usable wi

Problems Importing a CVS tree into FAUmachine

2005-07-24 Thread Thomas Glanzmann
Hello Matthias, I have problems importing the FAUmachine CVS tree into git. I tried the following with git HEAD and cvsps 2.1: git-cvsimport-script -d /var/lib/cvsd/cvsroots -C /var/lib/cvsd/gitroots/FAUmachine FAUmachine Committing initial tree e30105bb454c40a143689b37c1

Re: Should cg-mkpatch output be usable with cg-patch?

2005-07-24 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > > I wander what I should do with "cg-mkpatch" generated output; I had > > the impression that this should be usable with "cg-patch", but these > > are incompatible with each other. > > They certainly aren't. Is this a problem with the current imple

Re: Bootstrapping into git, commit gripes at me

2005-07-24 Thread Junio C Hamano
Petr Baudis <[EMAIL PROTECTED]> writes: > After some thought, I like Linus' approach more now, having head-name > only when it's really necessary. I agree 100%. That makes much more sense. The message from Linus reminded me that the way he tackles a problem is (as always) simpler, consistent an

[PATCH] Add -a option to get-tag-script to annotate but not sign a tag

2005-07-24 Thread A Large Angry SCM
Add -a option to get-tag-script to annotate but not sign a tag Also fix the test for an existing tag. Signed-off-by: A Large Angry SCM <[EMAIL PROTECTED]> --- git-tag-script | 21 +++-- 1 files changed, 15 insertions(+), 6 deletions(-) a49029e5cf9cca0c2999c0241e75789bcc38dbb

Re: Bootstrapping into git, commit gripes at me

2005-07-24 Thread Petr Baudis
Dear diary, on Tue, Jul 12, 2005 at 11:07:43AM CEST, I got a letter where Junio C Hamano <[EMAIL PROTECTED]> told me that... > If you block certain operations while you have seeked to non-top > anyway, wouldn't it be cleaner to have .git/seeked-to that > records the commit ID you are at, which at t

Re: cg-init find error message on empty project directory

2005-07-24 Thread Petr Baudis
Dear diary, on Wed, Jul 13, 2005 at 06:47:43AM CEST, I got a letter where Jerry Seutter <[EMAIL PROTECTED]> told me that... > When I run cg-init on an empty directory, it displays the following output: > > $ cg-init > defaulting to local storage area > find: *: No such file or directory > Committi

[PATCH] Extend git-ls-files --exclude option to match against directories

2005-07-24 Thread Marco Costalba
Pattern in git-ls-files --exclude= can include directories as example git-ls-files --exclude=Documentation/* will do what you expect --- ls-files.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) c8fdfc1f8280a753baf13c293db573c4e50f0a99 diff --git a/ls-files.c b/ls-files.c --- a/ls