summaryrefslogtreecommitdiff
path: root/git-branch.sh
diff options
context:
space:
mode:
authorLibravatar Petr Baudis <pasky@suse.cz>2006-06-24 04:34:51 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-07-02 17:14:41 -0700
commitd5c7721d586225c46c675b893b7693220e28cfd5 (patch)
treed739cadb0eddeb8fb9274839da86fe626bb1300e /git-branch.sh
parentGit.pm: Implement options for the command interface (diff)
downloadtgif-d5c7721d586225c46c675b893b7693220e28cfd5.tar.xz
Git.pm: Add support for subdirectories inside of working copies
This patch adds support for subdirectories inside of working copies; you can specify them in the constructor either as the Directory option (it will just get autodetected using rev-parse) or explicitly using the WorkingSubdir option. This makes Git->repository() do the exact same path setup and repository lookup as the Git porcelain does. This patch also introduces repo_path(), wc_path() and wc_subdir() accessor methods and wc_chdir() mutator. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-branch.sh')
0 files changed, 0 insertions, 0 deletions