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

Re: msysgit corrupting commit messages?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 7, 2009, 02:48 UTC
Message-ID
<alpine.DEB.1.00.0903070347220.10279@pacific.mpi-cbg.de>
In-Reply-To
<20090306171117.GD12880@zoy.org>
Hi,
On Fri, 6 Mar 2009, Sam Hocevar wrote:
Show 13 quoted lines
> On Fri, Mar 06, 2009, Brandon Casey wrote:
> 
> > I get the impression that you do not intend for the comments above to be
> > part of the commit message.  If that is true, then they should be placed
> > further down after the '---' and before the diff-stat, or in some other
> > way partitioned from the commit message (maybe using --->8--- notation).
> > Otherwise they will _become_ part of the commit message if Junio applies
> > this patch as-is.
> 
>    Okay. I'm definitely having a problem with git on MSYS. Is anyone
> else seeing it butcher commits it exports? They appear fine in git log
> or git log -p, but not in git format-patch. I've never had the problem
> on a Linux system.

I have never had problems with msysGit's format-patch. From Brandon's description however, it appears as if the offending changes were done manually...

Note: I missed the original message.

Ciao, Dscho

Previous: Sam HocevarNext: Sam Hocevar
Message 4 of 5 in “git-p4: remove unnecessary semicolons at end of lines”
  1. git-p4: remove unnecessary semicolons at end of linesSam Hocevar, Mar 6, 2009
  2. Brandon CaseyMar 6, 2009
  3. msysgit corrupting commit messages?Sam Hocevar, Mar 6, 2009
  4. Johannes SchindelinMar 7, 2009
  5. git-p4: remove unnecessary semicolons at end of lines.Sam Hocevar, Mar 7, 2009

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.