Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/diff-follow-must-take-one-pathspec'
[gitweb.git]
/
remote-testsvn.c
diff --git
a/remote-testsvn.c
b/remote-testsvn.c
index 078f1ffa417092e1c783b16d782b2aa69417a591..6be55cbe9ed6cf4979ac0971c30f127c9667ab2e 100644
(file)
--- a/
remote-testsvn.c
+++ b/
remote-testsvn.c
@@
-78,8
+78,8
@@
static int parse_rev_note(const char *msg, struct rev_note *res)
size_t len;
while (*msg) {
- end = strchr(msg, '\n');
- len = end
? end - msg : strlen(msg)
;
+ end = strchr
nul
(msg, '\n');
+ len = end
- msg
;
key = "Revision-number: ";
if (starts_with(msg, key)) {