Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gitdir: Add method for getting uncommitted changes | Richard Maw | 2013-09-17 | 1 | -0/+5 |
| | | | | | | | | | | get_uncommitted_changes() is needed for morph status to tell if git repositories have changes in them. _get_status() is private, since it does not currently have a user, the small amount of code in get_uncommitted_changes() wrapping _get_status() is in the GitDirectory class instead of the branch and merge plugin, since `morph build` will also need to know about uncommitted changes. | ||||
* | gitdir: add HEAD property to find the current branch | Richard Maw | 2013-09-17 | 1 | -0/+10 |
| | | | | | This is needed for status to tell if a repo is checked out in an unexpected branch. | ||||
* | gitdir: Add methods to inspect contents | Richard Maw | 2013-09-05 | 1 | -0/+73 |
| | | | | | | This adds methods to list and read files. The difference between doing this to a commit and the currrent working tree is abstracted over by whether the passed ref is None or omitted. | ||||
* | Add GitDirectory class | Lars Wirzenius | 2013-08-06 | 1 | -0/+66 |