Scott Chacon
360c7db73a
Fix behind branch vbranch creation ( #616 )
...
* clear command
* merge behind branches to upstream target before vbranch creation
2023-07-07 12:02:48 +02:00
Nikita Galaiko
32fcc9ea43
specify order on create request
2023-07-07 11:08:17 +02:00
Nikita Galaiko
46d8c203ea
try assuming target branch
2023-07-06 15:49:03 +02:00
Nikita Galaiko
dd94583186
propagate error message for unsupported push credentials
2023-07-06 10:11:59 +02:00
Nikita Galaiko
84ea0e1e17
disallow pushing to user/pass remotes
2023-07-05 16:10:19 +02:00
Nikita Galaiko
d89784a7e1
move repository lock from session writer to a higher level
2023-07-05 14:15:32 +02:00
Nikita Galaiko
c78ab6bc4a
lock get_current_session
2023-07-05 12:20:09 +02:00
Nikita Galaiko
d82781631e
remove println
2023-07-05 12:20:09 +02:00
Nikita Galaiko
ed9247f74c
handle errors
2023-07-05 12:20:09 +02:00
Nikita Galaiko
e89bd9bdf6
share storage lock to ensure consistancy
2023-07-05 11:00:49 +02:00
Nikita Galaiko
968c1e2840
fix new hunk ids
2023-07-05 10:10:02 +02:00
Nikita Galaiko
6563f9c9bf
fetch --prune
2023-07-05 08:41:06 +02:00
Kiril Videlov
0bd0b3628a
fix open path allowlist
2023-07-04 16:44:35 +02:00
Nikita Galaiko
bef0e44aa2
delete fully merged branches
2023-07-04 12:37:00 +02:00
Nikita Galaiko
ee35a3f46a
fix moving hunks
2023-07-04 10:22:32 +02:00
Nikita Galaiko
06b760d998
add emit event for the watcher
2023-07-04 09:32:21 +02:00
Nikita Galaiko
6473751a60
exponential backoff for failed fetches
2023-07-04 08:52:18 +02:00
Scott Chacon
0a3f9b6adc
Fetch button ( #610 )
...
* when not behind, it fetches
* hitting refresh fetches from remote
2023-07-04 07:15:44 +02:00
Scott Chacon
282d95af67
fix the fetching issue ( #605 )
2023-07-04 06:28:35 +02:00
Scott Chacon
e8e41f4b11
Can commit un/re-applied branches ( #601 )
...
* if a branch has no merge base, leave it out
* change write_tree to use treeUpdater rather than the index
2023-07-03 16:52:32 +02:00
Nikita Galaiko
24988db78a
handle errors
2023-07-03 16:34:05 +02:00
Nikita Galaiko
68fadb1209
fix clippy warnings
2023-07-03 16:34:05 +02:00
Nikita Galaiko
f83df47b77
emit git fetch event
2023-07-03 16:09:57 +02:00
Nikita Galaiko
1e3d0244db
fetch project in background
2023-07-03 16:09:57 +02:00
Nikita Galaiko
21ec8d9f14
move fetch and push to project
2023-07-03 16:09:57 +02:00
Nikita Galaiko
8878c89f06
track diff timestamps
2023-07-03 14:39:25 +02:00
Scott Chacon
6e73147257
Fix unapply hunks ( #598 )
...
* fix hunk ordering
* get unapply with hunked branches working
2023-07-03 14:14:26 +02:00
Nikita Galaiko
ac2003efca
track diff ownership
2023-07-03 09:51:51 +02:00
Kiril Videlov
e99c939d60
get branch directly
2023-07-03 09:38:58 +03:00
Mattias Granlund
2c590c5e9e
Stop double logging to webview
2023-07-02 20:16:57 +03:00
Mattias Granlund
adcf91d165
Right click menu for hunk
...
- allows you to open file in vs code
2023-07-02 18:45:13 +03:00
Scott Chacon
3392ca0b97
tree writing fixes ( #586 )
...
Tree writing (for commits and unapply vbranch stashing) now is tested and works properly for new and removed files as well as hunk level modifications per branch.
2023-07-02 15:48:44 +02:00
Scott Chacon
0806e94e6f
Fix some vbranch things ( #584 )
...
* add partial test, return branch id
* tests pass now. dont assign hunks if the branch isnt active
2023-07-02 12:35:50 +02:00
Scott Chacon
e6937368a7
Fix remote listing ( #573 )
...
* fix remote listing
* dont show commit stuff unless there is something to commit
* filter remote branches
* can create a virtual branch from a remote branch
* show remote/local a little differently
2023-07-01 14:17:32 +02:00
Kiril Videlov
4bdaaacf3e
add support for deleting vbrahcnes
2023-07-01 12:10:56 +02:00
Scott Chacon
a2a30d05a8
Sc fix remote listing2 ( #574 )
...
* fix remote listing
* dont show commit stuff unless there is something to commit
2023-07-01 08:54:17 +02:00
Kiril Videlov
d95cbdb738
fetch after push
2023-06-30 17:34:24 +02:00
Kiril Videlov
488f7862f5
remove unused parameter
2023-06-30 17:34:24 +02:00
Kiril Videlov
f9bc13685a
remove target extraction from vbranch, use origin
2023-06-30 17:34:24 +02:00
Kiril Videlov
2c965e8a47
push head directly
2023-06-30 17:34:24 +02:00
Kiril Videlov
5fb2ef580e
update upstream
2023-06-30 17:34:24 +02:00
Kiril Videlov
07c4d53078
persisting upstream branch on vbranch upon push
2023-06-30 17:34:24 +02:00
Scott Chacon
a4114185d2
set a remote flag on commits that have been pushed ( #568 )
2023-06-30 16:50:15 +02:00
Nikita Galaiko
297e0cddc9
new virtual branch button works
2023-06-30 16:00:54 +02:00
Scott Chacon
f8be69575f
Some Docs ( #565 )
...
* document these structs
2023-06-30 15:36:40 +02:00
Nikita Galaiko
f2024dc578
bubble up hunks that change size
2023-06-30 15:32:28 +02:00
Nikita Galaiko
183940072d
fix tests
2023-06-30 14:30:52 +02:00
Nikita Galaiko
13ef7435b4
bubble new hunks and files up
2023-06-30 14:15:12 +02:00
Nikita Galaiko
b3cc802f1a
explicitly move and always update hunks
2023-06-30 14:15:12 +02:00
Scott Chacon
8cc1d7b3f5
Merge status ( #554 )
...
* show merge status of virtual branches
* add merge conflict list and tests and fix uncommitted work
2023-06-30 11:27:54 +02:00