summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 62a64d1)
raw | patch | inline | side by side (parent: 62a64d1)
author | Gustaf Hendeby <hendeby@isy.liu.se> | |
Sun, 4 May 2008 22:33:09 +0000 (00:33 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 5 May 2008 23:54:16 +0000 (16:54 -0700) |
When having a svn:ignore that ignores the .gitignore file the -f
option to git add must be used to avoid git complaining about adding
an ignored file and hence stop the process of creating .gitignores.
Signed-off-by: Gustaf Hendeby <hendeby@isy.liu.se>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
option to git add must be used to avoid git complaining about adding
an ignored file and hence stop the process of creating .gitignores.
Signed-off-by: Gustaf Hendeby <hendeby@isy.liu.se>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index b70f8efaaa404d63c6a45486f8513348cbb368f5..e47b1ea6c1c19d3b5b9bf26ecbf6b0a0f32d08d6 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
print GITIGNORE "$s\n";
close(GITIGNORE)
or fatal("Failed to close `$ignore': $!");
- command_noisy('add', $ignore);
+ command_noisy('add', '-f', $ignore);
});
}