Feature request: Not having to provide a patch-id when 'rad patch show'ing on a patch branch
I just thought of a feature idea that might be nice to have:
I just checked out (as in git checkout) a branch that is a PR and then ran
rad patch show. That told me that I have to submit a patch-id. Would be nice
if the command could be a bit more intelligent and find out that I want to use
the patch/PR that my HEAD currently points to.
Also, running rad patch checkout needs the patch-id and the latest revision
id. Would be nice if that could be appreviated a bit. I looked at rad patch update but that’s something else I guess, so maybe rad patch checkout --update or rad patch checkout --latest would be nice, always under the
assumption that my HEAD points to a patch branch of course.
I agree, but would make it more general: when you’re currently on a branch that tracks a patch ref, its patch ID should be the default patch ID for any
rad patchcommand that takes a patch ID as an argument.A comment to @matthiasbeyer: re updating an already checked out patch, I usually resort to standard git commands to update the branch you’re on.
git pull --ffis my usual command to do that.