Commit Graph

14 Commits

Author SHA1 Message Date
Kevin Sawicki & Nathan Sobo
bb6bed85c6 Raise exception when destroyed repo is accessed 2013-01-09 17:12:15 -08:00
Kevin Sawicki
ba614d5549 Throw error from GitRepository constructor 2013-01-09 11:53:13 -08:00
Kevin Sawicki
8d0d62b486 Add Git.open that returns null on exceptions 2013-01-08 21:15:42 -08:00
Kevin Sawicki
6f5e29d48e Throw exception when repository fails to open
Removes need to check if the repository is valid before
each native API call and also removes calling into the
native-side if no repository can be opened for the project
page.
2013-01-08 21:15:41 -08:00
Kevin Sawicki
1019154db6 Add Git.checkoutHead(path) 2012-11-03 15:09:52 -07:00
Corey Johnson & Kevin Sawicki
be533d4342 Add Git.isPathNew(path)
Renamed other method to Git.isPathModified
2012-11-02 15:36:35 -07:00
Corey Johnson
81fc8d417d Add Git.isModified(path) 2012-11-02 15:35:21 -07:00
Kevin Sawicki
6618e6ac5f Use /tmp paths for non-repo specs 2012-11-02 15:33:39 -07:00
Kevin Sawicki
90126d1a9b 💄 2012-11-02 15:33:39 -07:00
Kevin Sawicki
f5db2b63d8 Add specs for Git.isIgnored 2012-11-02 15:33:38 -07:00
Kevin Sawicki
a9baf54707 Update git specs for latest libgit2 build 2012-11-02 15:33:38 -07:00
Kevin Sawicki
8e8ab4ff94 Add getPath helper 2012-11-02 15:33:37 -07:00
Kevin Sawicki
cbba58c30e 💄 2012-11-02 15:33:37 -07:00
Kevin Sawicki
b029bacc03 Add initial git specs 2012-11-02 15:33:37 -07:00