Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
completion: use __gitcomp_builtin in _git_am
[gitweb.git]
/
contrib
/
coccinelle
/
strbuf.cocci
diff --git
a/contrib/coccinelle/strbuf.cocci
b/contrib/coccinelle/strbuf.cocci
index 63995f22ff29f717a360f300e626ddea91d59fa2..1d580e49b0ca3304ad7b3be62664df47ea84757d 100644
(file)
--- a/
contrib/coccinelle/strbuf.cocci
+++ b/
contrib/coccinelle/strbuf.cocci
@@
-38,3
+38,9
@@
expression E1, E2, E3;
@@
- strbuf_addstr(E1, find_unique_abbrev(E2, E3));
+ strbuf_add_unique_abbrev(E1, E2, E3);
+
+@@
+expression E1, E2;
+@@
+- strbuf_addstr(E1, real_path(E2));
++ strbuf_add_real_path(E1, E2);