This website requires JavaScript.
Explore
Help
Sign In
undef
/
git-commit-vandalism
Watch
1
Star
0
Fork
0
You've already forked git-commit-vandalism
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
5e104568ad
git-commit-vandalism
/
contrib
/
coccinelle
/
xstrdup_or_null.cocci
6 lines
70 B
Plaintext
Raw
Normal View
History
Unescape
Escape
abspath: add absolute_pathdup() Add a function that returns a buffer containing the absolute path of its argument and a semantic patch for its intended use. It avoids an extra string copy to a static buffer. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-01-26 18:47:45 +01:00
@@
expression E;
@@
- xstrdup(absolute_path(E))
+ absolute_pathdup(E)
Reference in New Issue
Copy Permalink