Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: Why does git-svn dcommit rewrite the log messages?

From: Patrick Doyle <hidden>
Date: 2016-06-15 22:43:25

Primarily it's so that the person who pushed via dcommit and people who
sync via git-svn fetch get the same commit ID (assuming they are both
using the same authors map).

It might be possible to store the extra information needed to recreate
exactly the original git commit in SVN revision properties, but this
would need to be implemented once and basically not changed after that.

You can disable this behaviour, but you'll end up with duplicate commits.

Sam.
Thanks Sam,
Now I see the noMetadata option.  I'll give that try and see how much
trouble I get myself in.

As I was thinking about this some more, I started wondering if perhaps
the information could be stored in a .git-svnid file, that was
versioned on the subversion server as well as in the local git
repository.

I'll have to think through the implications of your explanation in the
mean time.

--wpd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help