Torsten Bögershausen tbo...@web.de writes:
But, look at
https://www.kernel.org/pub/software/scm/git/docs/git-add.html
This page seems to need an update too, and I wonder why:
a) The makefile did'nt re-generate html even if it should have
b) That page is not owned or updated by the git.git
[]
filepattern is related to current directory too (e.g. *.sh from t
won't cover git-rebase.sh, :/*.sh does). Yes a patch to update
git-add.txt to use the term pathspec instead of filepattern would
be nice. A pointer to pathspec glossary could help discover
case-insensitive matching, negative
Hi,
Nguyễn Thái Ngọc Duy wrote:
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
Thanks.
[...]
--- a/builtin/add.c
+++ b/builtin/add.c
@@ -544,7 +544,7 @@ int cmd_add(int argc, const char **argv, const char
*prefix)
for (i = 0; i pathspec.nr; i++) {
Jonathan Nieder jrnie...@gmail.com writes:
How about something like the following, for squashing in?
With or without the tweaks below,
Reviewed-by: Jonathan Nieder jrnie...@gmail.com
Thanks, both.
Regarding git add --refresh (no other arguments), it would say
Nothing specified, nothing
Junio C Hamano gits...@pobox.com writes:
Regarding git add --refresh (no other arguments), it would say
Nothing specified, nothing added., and that is unrelated to the
breakage reported and fixed in this thread, I think. It is the same
message git add (no other arguments) gives, which I
On 2013-12-24 00.46, Duy Nguyen wrote:
[snip]
We don't complain about adding an empty directory before or after this patch.
Ok, thanks for the explanation.
I think that
https://www.kernel.org/pub/software/scm/git/docs/git-add.html
could deserve an update.
My understanding is that filepattern
On Wed, Dec 25, 2013 at 4:48 AM, Torsten Bögershausen tbo...@web.de wrote:
On 2013-12-24 00.46, Duy Nguyen wrote:
[snip]
We don't complain about adding an empty directory before or after this patch.
Ok, thanks for the explanation.
I think that
This behavior was added in 07d7bed (add: don't complain when adding
empty project root - 2009-04-28) then broken by 84b8b5d (remove
match_pathspec() in favor of match_pathspec_depth() -
2013-07-14). Reinstate it.
Noticed-by: Thomas Ferris Nicolaisen tfn...@gmail.com
Signed-off-by: Nguyễn Thái
in the worktree,
not only the project root.
-
Could it make sense to mention that replace
[PATCH] add: don't complain when adding empty project root
with
[PATCH] add: don't complain when adding empty directory.
(and similar in the commit message)
/Torsten
--
To unsubscribe from this list
to mention that replace
[PATCH] add: don't complain when adding empty project root
with
[PATCH] add: don't complain when adding empty directory.
We don't complain about adding an empty directory before or after this patch.
(and similar in the commit message)
/Torsten
--
Duy
--
To unsubscribe
10 matches
Mail list logo