Daniel Hengeveld
|
0c839a91fb
|
Keep track of openedPath when relativizing
.. otherwise if the repo root is a symlink, paths won’t relativize to
it and git statuses won’t be updated/shown.
|
2016-01-09 11:40:09 -08:00 |
|
joshaber
|
11e72d0580
|
Just Use Or
|
2016-01-07 17:12:57 -05:00 |
|
joshaber
|
92839a1f4f
|
Test .isSubmodule.
|
2016-01-07 16:48:28 -05:00 |
|
joshaber
|
565f28dfc4
|
Update . getCachedUpstreamAheadBehindCount()
Take submodules into account.
|
2016-01-07 16:36:55 -05:00 |
|
joshaber
|
a79a528fd1
|
Make .getRepo() submodule-aware.
|
2016-01-07 16:13:46 -05:00 |
|
joshaber
|
957c8557cc
|
Use Grown Up repositories for submodules.
|
2016-01-07 15:29:01 -05:00 |
|
joshaber
|
a86d3b6d94
|
Stop logging.
|
2016-01-07 12:44:56 -05:00 |
|
joshaber
|
75fe311e22
|
Refresh the status for submodules too.
|
2016-01-07 12:19:51 -05:00 |
|
joshaber
|
eedac0a951
|
We'll store them by path instead of by name.
|
2016-01-05 17:31:34 -05:00 |
|
joshaber
|
26cd7c63cc
|
s/upstreamByPath/upstream
We’ll track submodule status separately.
|
2016-01-05 17:10:01 -05:00 |
|
joshaber
|
5045477b5d
|
path is never used.
|
2016-01-05 15:28:48 -05:00 |
|
joshaber
|
757bbae1e2
|
s//openNodeGitRepository/openRepository.
|
2016-01-05 15:26:16 -05:00 |
|
joshaber
|
6bf9d7eb7d
|
Added .openNodeGitRepository
|
2016-01-04 16:17:16 -05:00 |
|
joshaber
|
a63e30362f
|
Documentation for .DestroyedErrorName
|
2016-01-04 16:16:50 -05:00 |
|
joshaber
|
b234f8481d
|
We don't actually use repo.
|
2016-01-04 16:12:22 -05:00 |
|
joshaber
|
a2ab84c3e6
|
Catch errors that are thrown while we're refreshing.
|
2016-01-04 13:36:13 -05:00 |
|
joshaber
|
3752f66160
|
Use .getRepo everywhere.
|
2016-01-04 13:27:55 -05:00 |
|
joshaber
|
843442a741
|
So much depends upon a return statement.
|
2016-01-04 13:25:59 -05:00 |
|
joshaber
|
60fc0acb71
|
Relativize these paths too.
|
2016-01-04 13:25:51 -05:00 |
|
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 |
|