Commit Graph

25 Commits

Author SHA1 Message Date
Kevin Sawicki
5cd3c04702 Load fuzzy finder paths in web worker at startup
Previously the paths were first loaded when the fuzzy finder
view was first attached.

Now a web worker is started when the package activates that
sets the paths on the fuzzy finder view the first time it
displays if the worker has completed by the time an event occurs
that displays the view.
2013-02-02 12:47:46 -08:00
Corey Johnson & Nathan Sobo
74d7d48dcc Don't make GitRepository a window global 2013-01-24 17:22:49 -08:00
Kevin Sawicki & Nathan Sobo
bb6bed85c6 Raise exception when destroyed repo is accessed 2013-01-09 17:12:15 -08:00
Kevin Sawicki & Nathan Sobo
caffda6027 Add Git.destroy() that frees native repository 2013-01-09 17:07:29 -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
f5344080f1 Only compute Git status flags once
Previously the status was fetched twice, once for
if modified and once for if new.

Now the flags are fetched once and Git now provides
helpers to check the status flags directly for
modified and new status.
2013-01-07 17:35:57 -08:00
Kevin Sawicki
146ae9d776 Refresh the Git index when the window gains focus
Closes #121
2013-01-07 17:29:48 -08:00
Kevin Sawicki
a300146f2a Display submodule icon in tree-view 2013-01-06 09:52:53 -08:00
Kevin Sawicki
59d631879d Start substring after trailing slash 2013-01-06 08:45:07 -08:00
Kevin Sawicki
f11f85e87b Show octicon for project's that are repos 2013-01-05 19:24:53 -08:00
Kevin Sawicki
219aaca0f5 Show diff stat in status bar
Include the number of lines added and removed for
new and modified files
2012-12-27 10:41:29 -08:00
Kevin Sawicki
50e4602f7c Use getPath() internally 2012-12-10 17:44:59 -08:00
Kevin Sawicki
6954edd8a2 Show status icon for staged changes 2012-12-10 10:28:53 -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
094b5a3604 💄 2012-11-02 15:33:39 -07:00
Kevin Sawicki
20c69118ff Decorate ignored files/folders in tree-view 2012-11-02 15:33:38 -07:00
Kevin Sawicki
8e8ab4ff94 Add getPath helper 2012-11-02 15:33:37 -07:00
Kevin Sawicki
a3ef53f8e6 Return repository for all paths 2012-11-02 15:33:07 -07:00
Kevin Sawicki
88cdff9d26 Return full HEAD when unshortened 2012-11-02 15:31:11 -07:00
Kevin Sawicki
d66315dd21 Abbreviate SHA-1s when HEAD is detached 2012-11-02 15:31:10 -07:00
Kevin Sawicki
14302c491d Show current branch in status bar 2012-11-02 15:31:10 -07:00