| 40 | } |
| 41 | |
| 42 | static const char *cleanup_path(const char *path) |
| 43 | { |
| 44 | /* Clean it up */ |
| 45 | if (skip_prefix(path, "./", &path)) { |
| 46 | while (*path == '/') |
| 47 | path++; |
| 48 | } |
| 49 | return path; |
| 50 | } |
| 51 | |
| 52 | static void strbuf_cleanup_path(struct strbuf *sb) |
| 53 | { |
no outgoing calls
no test coverage detected