Improve git-remote-rad for use with `jj`
This makes jj work a bit better with git-remote-rad:
-
git-remote-rad: Allow pushing from bare repositories
Bare git repositories are meant to fetch into/push from and fetching works, but pushing from a bare repo into radicle-storage was prohibited.
This is a problem for me as I want to use
jj, which uses a bare git repository in the back (when not co-located into a “normal” git repository). -
git-remote-rad: Allow pushing commit SHAs into
refs/patchesThis makes scripting so much simpler than having to change HEAD or create a branch first.
1 file changed
+16
-5
271ef497
→
a9f75d47
modified crates/radicle-remote-helper/src/push.rs
@@ -390,6 +390,20 @@ pub fn run(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -408,8 +422,7 @@ fn patch_open<G>(
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -826,9 +839,7 @@ fn push_ref(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|