Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/strbuf-utf8-replace'
[gitweb.git]
/
convert.c
diff --git
a/convert.c
b/convert.c
index ab80b723574ff88b6c9c4a7c98c8821600f3e6bc..cb5fbb45ea04cead65316ecf6b44730b17108122 100644
(file)
--- a/
convert.c
+++ b/
convert.c
@@
-1121,9
+1121,9
@@
static int is_foreign_ident(const char *str)
{
int i;
- if (!s
tarts_with(str, "$Id: "
))
+ if (!s
kip_prefix(str, "$Id: ", &str
))
return 0;
- for (i =
5
; str[i]; i++) {
+ for (i =
0
; str[i]; i++) {
if (isspace(str[i]) && str[i+1] != '$')
return 1;
}