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

Re: [PATCH] Move git send-email cover letter temporary file to $GIT_DIR

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 22, 2007, 08:52 UTC
Message-ID
<7vd4szyuva.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<ee77f5c20712212304s598d344dg41d03f58084d794e@mail.gmail.com>
"David Symonds" <dsymonds@gmail.com> writes:
Show 15 quoted lines
> On Dec 22, 2007 5:49 PM, Junio C Hamano <gitster@pobox.com> wrote:
>>
>> "David Symonds" <dsymonds@gmail.com> writes:
>>
>> > On Dec 22, 2007 12:09 PM, Junio C Hamano <gitster@pobox.com> wrote:
>> >> Don't you have $repo (an instance of Git) at that point?  You
>> >> should be able to ask repo_path() about it, shouldn't you?
>> >
>> > Isn't git-send-email still useful outside a Git repo?
>>
>> Then why does it run "rev-parse --git-dir"?
>
> I'm suggesting that it should still function just fine without being
> inside a repo, so it should adequately handle "rev-parse --git-dir"
> returning 128.

Ah, true. Then the current behaviour to use the $(pwd) for temporary file area would be Ok for now.

Previous: David SymondsNext: Gustaf Hendeby
Message 18 of 19 in “Make git send-email accept $EDITOR with arguments”
  1. Make git send-email accept $EDITOR with argumentsGustaf Hendeby, Dec 20, 2007
  2. Luciano RochaDec 20, 2007
  3. Make git send-email accept $EDITOR with argumentsGustaf Hendeby, Dec 21, 2007
  4. Jeff KingDec 21, 2007
  5. Gustaf HendebyDec 21, 2007
  6. Jeff KingDec 21, 2007
  7. Gustaf HendebyDec 21, 2007
  8. Junio C HamanoDec 21, 2007
  9. Make git send-email accept $EDITOR with argumentsGustaf Hendeby, Dec 22, 2007
  10. Junio C HamanoDec 22, 2007
  11. Gustaf HendebyDec 22, 2007
  12. Junio C HamanoDec 21, 2007
  13. Move git send-email cover letter temporary file to $GIT_DIRGustaf Hendeby, Dec 22, 2007
  14. Junio C HamanoDec 22, 2007
  15. David SymondsDec 22, 2007
  16. Junio C HamanoDec 22, 2007
  17. David SymondsDec 22, 2007
  18. Junio C HamanoDec 22, 2007
  19. Gustaf HendebyDec 22, 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.