-
Notifications
You must be signed in to change notification settings - Fork 4
Preserve git committer in dcommit
lgatto edited this page Nov 16, 2012
·
1 revision
When dcommit
ing the latest changes in the git repository to svn
, the username of the dcommit
ter is used, and no trace of the user who originally committed the change to git
is forwarded. Using the git-svn
option --add-author-from
seems to partly solve the issue:
When committing to svn from git (as part of
commit-diff
,set-tree
ordcommit
operations), if the existing log message doesn't already have aFrom
: orSigned-off-by
: line, append aFrom
: line based on the git commit's author string. If you use this, then--use-log-author
will retrieve a valid author string for all commits.
References:
- The
git-svn
manual - git svn dcommit with svn usernames on stackoverflow.