projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
commit: prepare get_commit_buffer to handle any repo
[git]
/
contrib
/
coccinelle
/
xstrdup_or_null.cocci
1
@@
2
expression E;
3
expression V;
4
@@
5
- if (E)
6
- V = xstrdup(E);
7
+ V = xstrdup_or_null(E);
8
9
@@
10
expression E;
11
@@
12
- xstrdup(absolute_path(E))
13
+ absolute_pathdup(E)