Commit Graph

98 Commits

Author SHA1 Message Date
joshaber
5a7b4562e1 Use a default parameter. 2016-01-04 13:14:02 -05:00
joshaber
e3451090ed We might not have a project. 2016-01-04 12:48:39 -05:00
joshaber
1a35545bd7 _destroyed => _isDestroyed 2016-01-04 12:48:29 -05:00
joshaber
d9b39323cf Fix the openExt call. 2016-01-04 12:20:54 -05:00
joshaber
d8a5418f1e Only refresh the status for the open project. 2016-01-04 12:14:24 -05:00
joshaber
73cb867ccd Do proper path-filtering for status. 2016-01-04 12:14:08 -05:00
joshaber
07eebdccb8 Use .openExt instead of .open.
Use openExt to open the repository so we get the same repo-searching
behavior we had with git-utils.
2016-01-04 11:26:58 -05:00
joshaber
28326b3674 Strip any leading /private/.
I don’t love that we have to do this manually, but I also can’t find
any node function that’ll do it for us :(
2015-12-30 12:11:06 -05:00
joshaber
3af5e8cc18 Fix path standardization on case-sensitive file systems. 2015-12-30 12:10:33 -05:00
joshaber
34ab798362 Added getCachedPathStatuses() 2015-12-29 17:10:09 -05:00
joshaber
f413801836 Remove items that don't have any changes. 2015-12-29 17:10:01 -05:00
joshaber
36f13e6036 #nocontext 2015-12-14 23:29:08 -05:00
joshaber
c4ba2132fa Accumulate the raw data we want instead of keeping hunks around. 2015-12-14 23:29:01 -05:00
joshaber
27afc76455 Fix hunk callback position. 2015-12-14 20:27:10 -05:00
joshaber
8a91bfb209 Be consistent in our path relativization. 2015-12-11 15:34:42 -05:00
joshaber
c1cf5583b4 If there isn't an index entry then it's not a submodule. 2015-12-11 14:48:11 -05:00
joshaber
5d87002b3f Use the functions. 2015-12-11 10:18:58 -05:00
joshaber
d14603c778 Use some instead. 2015-12-11 10:09:52 -05:00
joshaber
81d4f06802 And that's why we write tests. 2015-12-10 20:00:37 -05:00
joshaber
c5383305d0 If we don't have a project then we're not at the root. 2015-12-10 17:57:35 -05:00
joshaber
dba698f672 Define a constant for this. 2015-12-10 17:57:21 -05:00
joshaber
3ccf186150 This can be local. 2015-12-10 17:57:13 -05:00
joshaber
4916a2e762 🍩 need this. 2015-12-10 16:55:08 -05:00
joshaber
3e7344394c Fix the documentation style. 2015-12-10 16:54:15 -05:00
joshaber
fcf8581255 Put this constant with the others. 2015-12-10 16:45:05 -05:00
joshaber
1a04c5a9c2 Be more specific in our error names. 2015-12-10 16:41:38 -05:00
joshaber
be964abf9f Ensure we actually do give them a boolean. 2015-12-10 16:31:46 -05:00
joshaber
abf5697240 Delint 2015-12-10 11:33:01 -05:00
joshaber
352f4064e9 Add a whole ton of missing documentation. 2015-12-10 11:05:55 -05:00
joshaber
7f19cd4f17 Throw if we try to use the repository after it's been destroyed. 2015-12-10 10:35:46 -05:00
joshaber
46d59fdda1 Fix usage when we're given no options. 2015-12-10 10:34:49 -05:00
joshaber
cdf1029698 It's fine if there isn't an upstream. 2015-12-09 23:54:12 -05:00
joshaber
cea6926cf2 Set IGNORE_WHITESPACE_EOL on Windows. 2015-12-03 15:46:36 -05:00
joshaber
4fbbcac3bc Added .getLineDiffs 2015-12-03 15:34:58 -05:00
joshaber
53be0cf965 Added .checkoutReference 2015-12-03 14:07:12 -05:00
joshaber
c3adee6363 Add some more stubs/TODOs. 2015-12-03 12:41:22 -05:00
joshaber
d21a91a412 Added .getOriginalURL. 2015-12-03 12:26:45 -05:00
joshaber
df839537a9 A lil more efficient .getReferenceTarget. 2015-12-03 12:26:32 -05:00
joshaber
74a0528bef Added .getConfigValue 2015-12-03 12:18:00 -05:00
joshaber
70601772d0 Added .getReferenceTarget 2015-12-03 11:54:55 -05:00
joshaber
c1e511927b Added .getReferences 2015-12-03 11:44:31 -05:00
joshaber
b60056f960 Added .getUpstreamBranch 2015-12-03 11:34:05 -05:00
joshaber
46d6e3b3c4 Added .hasBranch 2015-12-03 11:29:34 -05:00
joshaber
9bb8703978 Don't make the async repo duplicate the work if it's wrapped by a sync repo. 2015-12-03 09:49:10 -05:00
joshaber
81dbc5c867 Move the refreshingCount changes closer to where the work is done. 2015-12-03 09:48:38 -05:00
joshaber
a3a77180de More helpful type annotations. 2015-12-03 09:33:30 -05:00
joshaber
8da08724ad Added getDiffStats. 2015-12-02 23:51:33 -05:00
joshaber
cb62d917de Added getAheadBehindCount. 2015-12-02 17:20:38 -05:00
joshaber
aa634570e6 Added getShortHead 2015-12-02 16:16:30 -05:00
joshaber
fe4d3601d5 Organize similarly to git-repository.coffee so we can more easily tell what we're missing. 2015-12-02 15:28:09 -05:00