GNU bug report logs -
#57400
29.0.50; Support sending patches from VC directly
Previous Next
Reported by: Antoine Kalmbach <ane <at> iki.fi>
Date: Thu, 25 Aug 2022 08:49:01 UTC
Severity: normal
Found in version 29.0.50
Done: Philip Kaludercic <philipk <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 57400 <at> debbugs.gnu.org (full text, mbox):
> Cc: 57400 <at> debbugs.gnu.org
> From: Antoine Kalmbach <ane <at> iki.fi>
> Date: Fri, 26 Aug 2022 13:45:51 +0300
>
> 1. `M-x vc-prepare-patch`
> 2. Dispatch to `vc-git-prepare-patch`
> 3. Git wants a revision range, so interactively prompt for that
> (e.g. `HEAD^`, `abcd1234..ghjk5678`, or `-1`)
Please allow the user to specify the range of commits in a log-like
display, e.g. by having mark and point around them. It makes no sense
to force users to type revisions in the Git syntax, and come up with
the SHA1 codes on top of that. VC is supposed to be a convenient UI,
not just a dumb front-end to the VCS.
> 4. `call-process` to `git format-patch $REV`, and so forth, get the
> list of files.
By "list of files" do you mean the list of patch files?
> 5. Loop each file in `message-mode`. `C-c C-c` sends and goes to the
> next patch, `C-c C-k` cancels the whole thing.
Please don't hard-code message-mode. Please honor the user setting of
mail-user-agent instead.
Also, I'm not sure why we'd need to send each patch file separately.
Why not add them one by one as attachments to the same email message?
> Most likely, depending on the backend, we should not require any
> parameters besides the "set of changes".
If you allow to specify that via the region, all your problems are
solved, and the only one that remains is how to express that in the
backend-specific syntax.
This bug report was last modified 2 years and 219 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.