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

Re: [PATCH] submodule update - don't run git-fetch if sha1 available

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 19, 2007, 20:56 UTC
Message-ID
<7v8x87b5vn.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<e7bda7770708191157v54c2c2a3k8e17208a1d5b6dc9@mail.gmail.com>
"Torgil Svensson" <torgil.svensson@gmail.com> writes:
> $ git apply junio.mail

I have no idea how you saved the junio.mail file. "git am" knows how to grok e-mails in mbox and maildir formats.

> ...
> Is the "-- >8 --" -line something git-apply looks for?

git-apply does not have anything to do with any of this. You are looking for "git am".

"git-am" does not currently pay attention to the "-- >8 --" marker, either. It is there primarily so that you can do the interactive "git am -i" so that you know up to which point you would want to remove with its [e]dit subcommand.

Previous: Torgil Svensson
Message 7 of 7 in “submodule update - don't run git-fetch if sha1 available”
  1. submodule update - don't run git-fetch if sha1 availableTorgil Svensson, Aug 11, 2007
  2. Torgil SvenssonAug 11, 2007
  3. Junio C HamanoAug 11, 2007
  4. Torgil SvenssonAug 12, 2007
  5. Junio C HamanoAug 12, 2007
  6. Torgil SvenssonAug 19, 2007
  7. Junio C HamanoAug 19, 2007

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.