Re: [git-users] Re: git commit-tree -F - seems to add terminating newline?

2013-10-24 Thread Mickey Killianey
Thanks, Thomas! FWIW, to set up what I'm seeing, in any branch you can add one of these commits: $ git merge `echo -n "No trailing newline" | git commit-tree HEAD^{tree} -p HEAD` $ git log -n 1 --format=:%H:%B: : 4a11052c110c3daea46c89ae1118b1a2c59cc01b:No trailing newline: I would e

[git-users] Re: git commit-tree -F - seems to add terminating newline?

2013-10-24 Thread Thomas Ferris Nicolaisen
On Wednesday, October 23, 2013 7:34:02 PM UTC+2, Mickey Killianey wrote: > I expected that these two would be equivalent, and that neither would end > up modifying any commits: > >git filter-branch --commit-filter '*git commit-tree $@*' >git filter-branch --commit-filter '*git commit-tree