Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/path.h
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-04-29 11:28:23 +0300
committerJunio C Hamano <gitster@pobox.com>2019-05-05 09:20:10 +0300
commitad6dad0996f9226b2c3a5a3c725bf2952e52d7e7 (patch)
treecbde3e662ca85541fd7d0c9b0220776fee59cdbf /path.h
parentb199d7147a218c3b10b077f9caad0f207bc34d7a (diff)
*.[ch]: manually align parameter lists
In previous patches, extern was mechanically removed from function declarations without care to formatting, causing parameter lists to be misaligned. Manually format changed sections such that the parameter lists should be realigned. Viewing this patch with 'git diff -w' should produce no output. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'path.h')
-rw-r--r--path.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/path.h b/path.h
index 0efbd4fb0d..2ba6ca58c8 100644
--- a/path.h
+++ b/path.h
@@ -38,8 +38,8 @@ char *mksnpath(char *buf, size_t n, const char *fmt, ...)
* append it in the provided buffer `sb`.
*/
void strbuf_git_common_path(struct strbuf *sb,
- const struct repository *repo,
- const char *fmt, ...)
+ const struct repository *repo,
+ const char *fmt, ...)
__attribute__((format (printf, 3, 4)));
/*
@@ -67,7 +67,7 @@ const char *git_common_path(const char *fmt, ...)
* Return a path into the git directory of repository `repo`.
*/
char *repo_git_path(const struct repository *repo,
- const char *fmt, ...)
+ const char *fmt, ...)
__attribute__((format (printf, 2, 3)));
/*
@@ -75,8 +75,8 @@ char *repo_git_path(const struct repository *repo,
* to the provided buffer `sb`.
*/
void strbuf_repo_git_path(struct strbuf *sb,
- const struct repository *repo,
- const char *fmt, ...)
+ const struct repository *repo,
+ const char *fmt, ...)
__attribute__((format (printf, 3, 4)));
/*