aboutsummaryrefslogtreecommitdiffstats
path: root/path.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-04-15 14:11:42 -0700
committerJunio C Hamano <gitster@pobox.com>2024-04-15 14:11:42 -0700
commitc7a9ec4728db6f88c0957789f3b77a3e2e8b0ec9 (patch)
tree1870ab934b6f8c65dbe26a58116f67e8c5da0594 /path.h
parent509cc1d41394ea0d2308288a0cd3170c5774666e (diff)
parent708f7e05907ba7d4acd08bf87f51474471a16f43 (diff)
downloadgit-c7a9ec4728db6f88c0957789f3b77a3e2e8b0ec9.tar.gz
Merge branch 'rs/apply-lift-path-length-limit'
"git apply" has been updated to lift the hardcoded pathname length limit, which in turn allowed a mksnpath() function that is no longer used. * rs/apply-lift-path-length-limit: path: remove mksnpath() apply: avoid fixed-size buffer in create_one_file()
Diffstat (limited to 'path.h')
-rw-r--r--path.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/path.h b/path.h
index e053effef2..ea96487b29 100644
--- a/path.h
+++ b/path.h
@@ -24,12 +24,6 @@ char *mkpathdup(const char *fmt, ...)
__attribute__((format (printf, 1, 2)));
/*
- * Construct a path and place the result in the provided buffer `buf`.
- */
-char *mksnpath(char *buf, size_t n, const char *fmt, ...)
- __attribute__((format (printf, 3, 4)));
-
-/*
* The `git_common_path` family of functions will construct a path into a
* repository's common git directory, which is shared by all worktrees.
*/