| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This bases the implementation of git-email-patch-send off the magit
upstream magit-patch-create. This makes it more intuitive since it's
not defining a different way to work with patches.
This means by default you'll be presented with a revision range
prompt with the expectation that you would use a range like
upstream/master..master or something to calculate the patches to be
created. This on the surface seems more complicated than just
choosing a starting point, but it's more powerful and simple range
selection can be done interactively using the log buffer.
If you want to create a single patch thing can be done by pressing
`C-SPC` in the magit log buffer on a single commit then proceeding
with `W c s` or you can create any arbitrary interactive range via
`C-SPC` and navigating around the log.
Signed-off-by: Russell Sim <russell.sim@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A user might have buffers with unsent messages that were not generated
by git-email, previously, invoking ‘git-email-send-all’ would
unconditionally send all of those messages. By using a predicate, we
make sure to only send messages generated by git-email.
* git-email.el (git-email-buffer-p-function): New defcustom.
(git-email-buffer-p): New function.
(git-email-send-all): Use it.
* doc/git-email.texi (Miscellaneous): Document it.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
* git-email.el (git-email-send-email): Generate unique buffer names to
avoid collision.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* README.md (Introduction): Link to the online manual.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* README.md (Contribution): Wrap lines.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
|
|
|
| |
I am no longer using Nix for managing user packages, and I have no
interest in actually maintaining these files.
* git-email.texi (Installation): Remove Nix installation instructions.
* default.nix, flake.lock, flake.nix: Remove files.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
|
| |
Use more appropriate commands instead of @samp{}.
* git-email.texi: Formatting changes.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
|
|
|
|
| |
* git-email.el (git-email-generate-message-buffer): New defcustom.
(git-email-generate-message-buffer-name): New function
(git-email--send-files): Likewise.
(git-email-format-patch): Refactor to use ‘git-email--send-files’.
(git-email-send-email): Likewise.
* doc/git-email.texi (Miscellaneous): Document it.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* git-email.el: Add page separators.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
* doc/git-email.texi (git-email-format-patch): Add paragraphs for how
‘git-email-rewrite-header’ might be useful.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes it is useful to append something to the value of a header
instead of overwriting it. For example, one might have already Cc’d
someone, but now wants to Cc yet another person, by appending, they
don’t have to re-write the Email address of the first person they
Cc’d.
* git-email.el (git-email--rewrite-header-in-buffer): Add ‘append’
argument.
(git-email-rewrite-header): Add optional prefix argument ‘append’.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
* git-email.el (git-email--rewrite-header-in-buffer): Check if header
is found before re-writing.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
* git-email.el (git-email--rewrite-header-in-buffer): New function.
(git-email-rewrite-header): Likewise.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* git-email-gnus.el: Fix typo.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
* git-email-piem.el: Add TODO for using ‘piem-merged-inboxes’ intead
of ‘piem-inboxes’. Thanks Kyle for the heads up!
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* git-email-piem.el (git-email-piem-mode): Remove ‘progn’ form.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
* git-email-gnus.el (git-email-gnus-mode): Remove superfluous ‘progn’
form.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* git-email-gnus.el: Require ‘gnus-msg’ library.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
|
|
| |
* git-email-gnus.el (git-email-gnus-mode): Fix typo in docstring.
* git-email-mu4e.el (git-email-mu4e-mode): Likewise.
* git-email-notmuch.el (git-email-notmuch-mode): Likewise.
* git-email-piem.el (git-email-piem-mode): Likewise.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* git-email-notmuch.el: Require ‘notmuch-mua’ library
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* git-email-mu4e.el: Capitalize ‘mu4e’ in the header.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
* git-email-mu4e.el: Add ‘mu4e’ to ‘Package-Requires’ header. I don’t
know what version is needed, maybe I will try to to find it later.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
‘git-format-patch’ adds a newline in the subject if it is too long, if
we just use ‘git-email--extract-header’, part of the subject is going
to be cut off.
Subject: [PATCH] services: configuration: Show default value when it is a
package.
* git-email.el (git-email-subject-regexp): New variable.
(git-email--extract-subject): New function.
(git-email--extract-header): Use it.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* guix.scm (git-email-dev): Add ‘emacs-mu4e’ to ‘propagated-inputs’.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
* git-email-mu4e.el: New file.
* doc/git-email.texi (Miscellaneous): Mention integration with Mu4e.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
* git-email.texi (Contributing): Add paragraph about formatting commit
messages in the ChangeLog format.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* doc/git-email.texi (Acknowledgements): Use ‘---’ for em dash.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* git-email.scm: Rename to ...
* guix.scm: ... this, and remove the package for the stable release.
I will hopefully get around to package it in Guix proper someday...
* doc/git-email.texi (Installation): Add node for installing with
Guix.
(Contributing): Add instructions for creating a development
environment with Guix.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* git-email.el (git-email-format-patch-default-args): Fix indentation.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* git-email.el (git-email--check-file): Use ‘user-error’ instead of
‘error’ since this is an error caused by the user not picking a
proper patch.
|
|
|
|
|
| |
* git-email.el (git-email--compose-email): Remove unnecessary ‘print’
statement.
|
|
|
|
|
| |
* git-email.el (git-email-format-patch-extra-args): Use the correct
CLI options, see git-format-patch(1) for more details.
|
|
|
|
|
|
| |
Oops, wrong order.
* git-email.el (git-email-message-buffer-greaterp): Use ‘>’ instead of ‘<’.
|
|
|
|
|
|
|
|
| |
This will fix the compiler warning.
git-email.el:327:54: Warning: Unused lexical variable `body'
* git-email.el (git-email--compose-email): rename ‘body’ to ‘_’.
|
|
|
|
|
|
|
|
|
|
| |
‘string-greaterp’ would mess up the order if the buffer names
container more-than-one digit numbers.
‘git-email-message-buffer-greaterp’ just compares the numbers in the
buffer names.
* git-email.el (git-email-message-buffer-greaterp): New function.
(git-email-send-all): Use it.
|
|
|
|
|
|
|
|
| |
Without this strings with whitespaces would cause ‘git format-patch’
to fail.
* git-email-magit.el (git-email--escape-string): New function.
(git-email-magit-patch-send): Use it.
|
|
|
|
|
|
|
|
|
| |
Spaces >> tabs.
* git-email.el: Untabify.
* git-email-gnus.el: Likewise.
* git-email-magit.el: Likewise.
* git-email-notmuch.el: Likewise.
|
|
|
|
|
|
| |
* git-email.el (git-email--compose-email): Don't insert a 'to' address
if one is already found in the patch. This makes it possible to
override the result of 'git-email-get-to-address-functions'.
|
|
|
|
|
|
| |
* git-email.el (git-email--extract-headers): Return an association
list.
(git-email--compose-email): Adapt to alists.
|
|
|
|
|
|
| |
The same thing can be found in the Texinfo manual.
* README.md: Remove Installation section.
|
|
|
|
| |
This reverts commit 49571ab4c2ddd07db68aac300bdbc9c6bfd31b0b.
|
|
|
|
| |
* git-email.scm: New file.
|
| |
|
| |
|
|
|
|
|
| |
* git-email.el (git-email--compose-email): Remove redundant let
binding.
|
|
|
|
|
| |
* git-email-piem.el (git-email-piem): Provide `git-email-piem'
library.
|
|
|
|
|
|
|
|
|
|
| |
This should fix the problem seen in <87sg5wxo0q.fsf@protesilaos.com>
* git-email.el (git-email--compose-email): Match the beginning and end
of line.
Reported-by: Protesilaos Stavrou <info@protesilaos.com>
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
Applied manually from
<https://lists.sr.ht/~yoctocell/git-email-devel/%3Ce281e4b3513b5629de0108176c660aa1714b5604.1613471364.git.info%40protesilaos.com%3E>
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
| |
|
| |
|