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
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 /worktree.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 'worktree.h')
-rw-r--r--worktree.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/worktree.h b/worktree.h
index 2d6a1d207a..caecc7a281 100644
--- a/worktree.h
+++ b/worktree.h
@@ -48,8 +48,8 @@ const char *get_worktree_git_dir(const struct worktree *wt);
* "arg". "prefix" must not be NULL.
*/
struct worktree *find_worktree(struct worktree **list,
- const char *prefix,
- const char *arg);
+ const char *prefix,
+ const char *arg);
/*
* Return true if the given worktree is the main one.
@@ -69,14 +69,14 @@ const char *worktree_lock_reason(struct worktree *wt);
* returned if "errmsg" is not NULL.
*/
int validate_worktree(const struct worktree *wt,
- struct strbuf *errmsg,
- unsigned flags);
+ struct strbuf *errmsg,
+ unsigned flags);
/*
* Update worktrees/xxx/gitdir with the new path.
*/
void update_worktree_location(struct worktree *wt,
- const char *path_);
+ const char *path_);
/*
* Free up the memory for worktree(s)
@@ -89,7 +89,7 @@ void free_worktrees(struct worktree **);
* or NULL otherwise. The result may be destroyed by the next call.
*/
const struct worktree *find_shared_symref(const char *symref,
- const char *target);
+ const char *target);
/*
* Similar to head_ref() for all HEADs _except_ one from the current
@@ -105,7 +105,7 @@ int is_worktree_being_bisected(const struct worktree *wt, const char *target);
* worktree instead of current one
*/
const char *worktree_git_path(const struct worktree *wt,
- const char *fmt, ...)
+ const char *fmt, ...)
__attribute__((format (printf, 2, 3)));
/*