summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1db0819)
raw | patch | inline | side by side (parent: 1db0819)
author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Tue, 24 May 2005 19:57:12 +0000 (12:57 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Tue, 24 May 2005 19:57:12 +0000 (12:57 -0700) |
We need to quote backslash and backtick too.
And inform the user about our progress, since converting a
big archive can take time. Doing the full mutt history took
just under eight minutes.
And inform the user about our progress, since converting a
big archive can take time. Doing the full mutt history took
just under eight minutes.
cvs2git.c | patch | blob | history |
diff --git a/cvs2git.c b/cvs2git.c
index 8a76734a021b5bdf76adf92196d5ae72123e7ec5..1adc918f51d668fe818468213f64b5d476148bb3 100644 (file)
--- a/cvs2git.c
+++ b/cvs2git.c
switch (c) {
case '$':
+ case '\\':
+ case '`':
putchar('\\');
break;
case 0 ... 31:
printf("echo $commit > .git/refs/heads/'%s'\n", dst_branch);
+ printf("echo 'Committed (to %s):' ; cat .cmitmsg; echo\n", dst_branch);
+
*date = 0;
*author = 0;
*branch = 0;