[PATCH 2/2] Make git-update-cache take relative pathnames

2005-08-17 Thread Linus Torvalds
This also makes "./filename" acceptable as a side effect, since the pathname normalization handles that too. Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- update-cache.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) ece92eeda777c3141f5692132ccc2ba7e4e801a2 diff --git a/up

Re: Why is there no git-update-cache --modified (aka I give up)

2005-07-12 Thread Junio C Hamano
Matthias Urlichs smurf.noris.de> writes: > > Hi, Marc Singer wrote: > > > # git-update-cache `git-diff-cache | cut -f2` > > g-d-c should have an option to print file names only. All that cutting > and argument-backtick-ing gets pretty nasty when there are a

Re: Why is there no git-update-cache --modified (aka I give up)

2005-07-12 Thread Matthias Urlichs
Hi, Marc Singer wrote: > # git-update-cache `git-diff-cache | cut -f2` g-d-c should have an option to print file names only. All that cutting and argument-backtick-ing gets pretty nasty when there are a lot of files, or if they contain special characters. -- Matthias Urlichs | {M:U}

Re: Why is there no git-update-cache --modified (aka I give up)

2005-07-12 Thread Marc Singer
On Tue, Jul 12, 2005 at 01:14:24AM -0700, Junio C Hamano wrote: > Marc Singer <[EMAIL PROTECTED]> writes: > > > # git-diff-cache HEAD > > > > is really nice. But, do I really have to invoke git-update-cache with > > every modified file? I could write a scri

Re: Why is there no git-update-cache --modified (aka I give up)

2005-07-12 Thread Junio C Hamano
Marc Singer <[EMAIL PROTECTED]> writes: > # git-diff-cache HEAD > > is really nice. But, do I really have to invoke git-update-cache with > every modified file? I could write a script to cul the filenames from > git-diff-cache, but I'm having a hard time believing

Re: Why is there no git-update-cache --modified (aka I give up)

2005-07-12 Thread Petr Baudis
Dear diary, on Tue, Jul 12, 2005 at 07:52:18AM CEST, I got a letter where Marc Singer <[EMAIL PROTECTED]> told me that... > # git-diff-cache HEAD > > is really nice. But, do I really have to invoke git-update-cache with > every modified file? I could write a script to cul

Why is there no git-update-cache --modified (aka I give up)

2005-07-11 Thread Marc Singer
# git-diff-cache HEAD is really nice. But, do I really have to invoke git-update-cache with every modified file? I could write a script to cul the filenames from git-diff-cache, but I'm having a hard time believing that that is how others are preparing their commits. - To unsubscribe

[PATCH] 3/7 Add --info-only option to git-update-cache.

2005-07-08 Thread Bryan Larsen
Add --info-only option to git-update-cache. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- Documentation/git-update-cache.txt | 23 +++ update-cache.c | 14 +++--- 2 files changed, 30 insertions(+), 7 deletions(-) diff -

[PATCH] 4/7 Use SHA1 for git-update-cache --refresh

2005-07-08 Thread Bryan Larsen
Change git-update-cache --refresh behaviour to use sha1's rather than comparing byte by byte. Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]> --- update-cache.c | 31 +-- 1 files changed, 5 insertions(+), 26 deletions(-) diff --git a/update-cache

Re: git-update-cache:

2005-07-05 Thread Sam Ravnborg
On Wed, Jul 06, 2005 at 12:42:20AM +0200, Sam Ravnborg wrote: > > > > I receive the following error: > > git-update-cache: symbol lookup error: git-update-cache: undefined > > symbol: deflateBound > > > > > open("/usr/lib/libz.so.1", O_R

Re: git-update-cache:

2005-07-05 Thread Sam Ravnborg
> > I receive the following error: > git-update-cache: symbol lookup error: git-update-cache: undefined > symbol: deflateBound > > open("/usr/lib/libz.so.1", O_RDONLY)= 3 This is the reason. For a strange reason when git-update-chache was compiled is wa

git-update-cache:

2005-07-05 Thread Sam Ravnborg
While trying to execute: git-update-cache -- drivers/Kconfig drivers/net/Kconfig net/Kconfig I receive the following error: git-update-cache: symbol lookup error: git-update-cache: undefined symbol: deflateBound I have fetched a clean tree from kernel.org, and cloned it using cg-clone