Skip to contentSkip to conversation

builtin-add.c patch

PATCH In review [email protected] 4 participants 8 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

A trivial patch to fix a typo -- Tim Daly

builtin-add.c +1 -1
index ea4e771..5f2e68b 100644
@@ -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.
#1 lore raw

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
index ea4e771..5f2e68b 100644
@@ -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.

#2 lore raw
Quoted 7 lines · On Wednesday 2008 December 10 08:26:32 Alexander Potashev wrote:
Quoted 7 lines
builtin-add.c +0 -0
index ea4e771..5f2e68b 100644
@@ -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/                      \_/     
#4 lore raw

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
index ea4e771..719de8b 100644
@@ -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
author
#6 lore raw
In reply to Alexander Potashev

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

#7 lore raw

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