GNU bug report logs -
#59523
[PATCH] doc: contributing: Note '-v REVISION' bug in 'git send-email'.
Previous Next
Reported by: "(" <paren <at> disroot.org>
Date: Wed, 23 Nov 2022 19:08:02 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
On Wed, 23 Nov 2022 at 19:07, "\( via Guix-patches" via <guix-patches <at> gnu.org> wrote:
> Turns out that due to a bug in ``git send-email'', using ``-v 2'' with
> a space between the flag and the argument won't work. If you try it, it'll
> print a confusing error message, so this patch updates the manual to note
> this and remove the space in an example that uses it.
Arf clunky Git CLI. :-) The git-format-patch manual says:
-v <n>, --reroll-count=<n>
so the space is allowed and it seems to work. The git-send-email
manual says,
git send-email [<options>] <format-patch options>
and indeed,
--8<---------------cut here---------------start------------->8---
$ git send-email -1 -v 2 --to=trash <at> trash.com
fatal: ambiguous argument '2': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
format-patch -o /tmp/bin67IOTaX -1 2: command returned error: 128
--8<---------------cut here---------------end--------------->8---
But it works without the space. Arf, Git CLI…
Cheers,
simon
This bug report was last modified 2 years and 117 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.