summaryrefslogtreecommitdiff
path: root/lib/git/repo.py
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2008-05-29 17:53:30 -0700
committerDavid Aguilar <davvid@gmail.com>2008-05-29 17:53:30 -0700
commitcbbb6b349e8d0557e7e55e2d05819d6bdaed3769 (patch)
tree2ebb7aac2e26486ae352418e011c7240ffdc4c5c /lib/git/repo.py
parentebee400cfa4a532018ee904c22c7e3e6619ca4de (diff)
downloadgitpython-cbbb6b349e8d0557e7e55e2d05819d6bdaed3769.tar.gz
git.py: make git_dir an optional parameter
git_dir is now optional in the constructor for git.Git. Git now falls back to os.getcwd() when git_dir is not specified. Furthermore, extra checks were added so that the git_dir variable always points to the root of the worktree for non-bare repositories. Signed-off-by: David Aguilar <davvid@gmail.com>
Diffstat (limited to 'lib/git/repo.py')
0 files changed, 0 insertions, 0 deletions