diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-11-28 10:36:55 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-11-28 22:18:51 +0100 |
commit | 4fff1ef7ffe0e370459242cf08c51177eeb4181f (patch) | |
tree | c75c61d8e45c622fd62af8b368dee1636f397bf3 /worktree.h | |
parent | get_worktrees() must return main worktree as first item even on error (diff) | |
download | git-4fff1ef7ffe0e370459242cf08c51177eeb4181f.tar.xz git-4fff1ef7ffe0e370459242cf08c51177eeb4181f.zip |
worktree.c: get_worktrees() takes a new flag argument
This is another no-op patch, in preparation for get_worktrees() to do
optional things, like sorting.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'worktree.h')
-rw-r--r-- | worktree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree.h b/worktree.h index 90e1311fa7..2e68d4ad86 100644 --- a/worktree.h +++ b/worktree.h @@ -23,7 +23,7 @@ struct worktree { * The caller is responsible for freeing the memory from the returned * worktree(s). */ -extern struct worktree **get_worktrees(void); +extern struct worktree **get_worktrees(unsigned flags); /* * Return git dir of the worktree. Note that the path may be relative. |