summaryrefslogtreecommitdiff
path: root/test/git/test_repo.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-05-11 00:06:14 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-05-11 00:06:14 +0200
commit8caeec1b15645fa53ec5ddc6e990e7030ffb7c5a (patch)
treeda01b74f6c76a8965dee9b21dc471e41e3d0018a /test/git/test_repo.py
parentde5bc8f7076c5736ef1efa57345564fbc563bd19 (diff)
downloadgitpython-8caeec1b15645fa53ec5ddc6e990e7030ffb7c5a.tar.gz
IndexFile.add: Fixed incorrect path handling if path rewriting was desired and absolute paths were given
Commit.create_from_tree: fixed critical bug that would cause it to create a branch named master by default, instead of the reference actually set ( which is master in many, but not all cases ) - in fact it could be detached as well, we would fail ungracefully although we could assume master then ... although we cant really make the decision Repo.is_dirty: improved its abiility to deal with empty repositories and a missing head. Weird thing is that the test always worked fine with the previous code, but it didn't work for me in a similar situation without this change at least
Diffstat (limited to 'test/git/test_repo.py')
0 files changed, 0 insertions, 0 deletions