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:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-04-22 16:01:29 +0300
committerJunio C Hamano <gitster@pobox.com>2016-04-23 00:09:38 +0300
commit2e641d5825673c7dca384bc12fcaf1681d731bb6 (patch)
treefdb26b0c2374cee718e5f07a5f391b63965679f3 /wt-status.h
parent750e8a60d69274acd820f812704c75927d82728e (diff)
path.c: refactor and add worktree_git_path()
do_git_path(), which is the common code for all git_path* functions, is modified to take a worktree struct and can produce paths for any worktree. worktree_git_path() is the first function that makes use of this. It can be used to write code that can examine any worktree. For example, wt_status_get_state() will be converted using this to take am/rebase/... state of any worktree. 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 'wt-status.h')
0 files changed, 0 insertions, 0 deletions