builtin-add.c patch
A trivial patch to fix a typo -- Tim Daly
builtin-add.c +1 -1
@@ -23,7 +23,7 @@ static void fill_pathspec_matches(const char **pathspec, char *seen, int specs)int num_unmatched =0 , i;/* -* Since we are walking the index as if we are warlking the directory, +* Since we are walking the index as if we are walking the directory, * we have to mark the matched pathspec as seen; otherwise we will * mistakenly think that the user gave a pathspec that did not match * anything.
Hello, Tim!
builtin-add.c static void fill_pathspec_matches(const char **pathspec, char *seen, int specs) · line 26
Quoted 13 lines · On 06:38 Wed 10 Dec , [email protected] wrote:
A trivial patch to fix a typo -- Tim Daly
builtin-add.c +1
-1@@ -23,7 +23,7 @@ static void fill_pathspec_matches(const char **pathspec, char *seen, int specs)int num_unmatched =0 , i;/* -* Since we are walking the index as if we are warlking the directory, +* Since we are walking the index as if we are walking the directory,
We probably should use subjunctive here:
"Since we are walking the index as if we _were_ walking the directory,".
Are there any native English speakers? :)
Quoted 7 lines
builtin-add.c +0
-1* we have to mark the matched pathspec as seen; otherwise we will * mistakenly think that the user gave a pathspec that did not match * anything. -- 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
It's also better to change the commit message, one should be able to realize from it that the change is a typo fix in comments.
Quoted 7 lines · On Wednesday 2008 December 10 08:26:32 Alexander Potashev wrote:
Quoted 7 lines
builtin-add.c +0
-0@@ -23,7 +23,7 @@ static void fill_pathspec_matches(const char **pathspec, char *seen, int specs) int num_unmatched = 0, i;
Quoted 8 lines
builtin-add.c static void fill_pathspec_matches(const char **pathspec, char *seen, int specs) · line 26
Quoted 3 lines
builtin-add.c +1
-1/* -* Since we are walking the index as if we are warlking the directory, +* Since we are walking the index as if we are walking the directory, We probably should use subjunctive here:
"Since we are walking the index as if we _were_ walking the directory,".Are there any native English speakers? :)
Southern bah the grace o' gawd. :)
Yes, the subjunctive is the appropriate tense for use in hypotheticals ("as if").
Signature · 4 lines
Boyd Stephen Smith Jr. ,= ,-_-. =. [email protected] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/
Alexander,
Feel free to change the patch.
Its hardly worth the bits of email used
but it does need to be fixed.
Tim
PATCH 1/1 Fix typo in comment in builtin-add.c
--- builtin-add.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
builtin-add.c +1 -1
@@ -23,7 +23,7 @@ static void fill_pathspec_matches(const char **pathspec, char *seen, int specs)int num_unmatched =0 , i;/* -* Since we are walking the index as if we are warlking the directory, +* Since we are walking the index as if we were walking the directory, * we have to mark the matched pathspec as seen; otherwise we will * mistakenly think that the user gave a pathspec that did not match * anything.
Signature · 1 line
1.6.0.4
Re: [PATCH (resend)] Fix typo in comment in builtin-add.c
Quoted 5 lines · Alexander Potashev
Reported-by Tim Daly <[email protected]>Cc Boyd Stephen Smith Jr. <[email protected]>Cc Junio C Hamano <[email protected]>Cc <[email protected]>Signed-off-by Alexander Potashev <[email protected]>
Eek. Why so many Cc: here for such a trivial patch?
Will apply, thanks.
Alexander,
I saw a suggestion that git could be used as a filesystem rather than as a code repository. I'm looking to convert it for this purpose to sit underneath Axiom, a computer algebra system written in common lisp. Basically the idea is that a "close" operation does a 'git add foo ; git commit'.
Are you aware of anyone who has used git as a filesystem?
Tim Daly
Hello, Tim!
Quoted 8 lines · root
Alexander,
I saw a suggestion that git could be used as a filesystem rather than as a code repository. I'm looking to convert it for this purpose to sit underneath Axiom, a computer algebra system written in common lisp. Basically the idea is that a "close" operation does a 'git add foo ; git commit'.
Quoted 4 lines
Are you aware of anyone who has used git as a filesystem?
Tim Daly
It's a quite off-topic question. But Git is not optimized to track individual files with separate history
( see http://www.youtube.com/watch?v=8dhZ9BXQgc4 ). Also, Git uses only 644 and 755 permissions (755 stands for executables, often scripts - shell scripts, perl, ...), but usual filesystems provide full range of premissions/ownership.
Alexander