Am 02.05.2012 06:55, schrieb Marke:
> Hello, we're working with a tool that sends some git commands to the
> shell, one of which attempts to amend a commit message with multiple
> lines. On our windows machines, this command fails (only the first
> line of the multi-line message gets set as the commit message). There
> is no error, the rest of the message is simply omitted from what
> msysgit reports as a successful amend. The format of the command sent
> to the shell is as follows:
>
> git commit --amend --message "First line
>
> Next line...
>
> etc."
>
> (which results in the commit message being amended to "First line")
Do you have any shell meta characters in the commit message? Does the
script produce any errors? Can you post an example of a script?
-- Hannes