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.
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.
Changes:
- Instead parsing a
RefStringand seeing if it is a commit, we userevparse_singleand peel it to itsOid.
Review
Changes:
- Rebased
- Accepted review commit