diff options
author | Petr Baudis <pasky@suse.cz> | 2006-06-24 04:34:51 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-02 17:14:41 -0700 |
commit | d5c7721d586225c46c675b893b7693220e28cfd5 (patch) | |
tree | d739cadb0eddeb8fb9274839da86fe626bb1300e /imap-send.c | |
parent | d43ba4680754c150124b6ac3cd9c6e52765c6881 (diff) | |
download | git-d5c7721d586225c46c675b893b7693220e28cfd5.tar.gz |
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 'imap-send.c')
0 files changed, 0 insertions, 0 deletions