git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v4 1/4] commit test: Use test_config instead of git-config

From
Caleb Thompson <caleb@calebthompson.io>
Date
Jun 12, 2014, 18:23 UTC
Message-ID
<20140612182341.GA42013@sirius.local>
In-Reply-To
<20140612180830.GB15556@hudson.localdomain>
Jeremiah,
On Thu, Jun 12, 2014 at 11:04:59AM -0700, Jeremiah Mahler wrote:
Show 10 quoted lines
>
> Thanks for checking.  Unfortunately the problem persists for me.
>
> It seems to be related to there not being a space at the left most part
> of the patch.  It is just a tab with no space.  So 'git am' has a
> problem because it is expecting to remove a space and there isn't one.
> See the attached screenshots with tabs highlighted.
>
> How are you preparing your patches.  'git format-patch' with a 'git
> send-email'?
I'm so glad you asked, because I've just been muddling through this.

I've been generating the cover page variously with request-pull or diff --stat, then running a command like this, with --cc arguments added from a list I've been keeping of people who respond to the threads:

    git send-email --compose --to=git@vger.kernel.org --thread \
        [--cc ...] --no-chain-reply origin/master...

Then I manually edit the subjects to add the version to the [PATCH N/M] portions. I haven't been using format-patch.

It's interesting that only the first patch isn't applying. I'd love to hear a better way.

Caleb
Previous: Jeremiah MahlerNext: Jeremiah Mahler
Message 7 of 15 in “commit: support commit.verbose and --no-verbose”
  1. 0/4 commit: support commit.verbose and --no-verbosecaleb@calebthompson.io, Jun 11, 2014
  2. 1/4 commit test: Use test_config instead of git-configcaleb@calebthompson.io, Jun 11, 2014
  3. Jeremiah MahlerJun 12, 2014
  4. Caleb ThompsonJun 12, 2014
  5. Jeremiah MahlerJun 12, 2014
  6. Jeremiah MahlerJun 12, 2014
  7. Caleb ThompsonJun 12, 2014
  8. Jeremiah MahlerJun 12, 2014
  9. Caleb ThompsonJun 12, 2014
  10. 2/4 commit test: Use write_scriptcaleb@calebthompson.io, Jun 11, 2014
  11. 3/4 commit test: test_set_editor in each testcaleb@calebthompson.io, Jun 11, 2014
  12. 4/4 commit: support commit.verbose and --no-verbosecaleb@calebthompson.io, Jun 11, 2014
  13. René ScharfeJun 11, 2014
  14. Caleb ThompsonJun 11, 2014
  15. Caleb ThompsonJun 12, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.