Re: git-svn dcommit always uses my own name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/15/08, Richard Quirk <richard.quirk@xxxxxxxxx> wrote:
> Subversion only remembers the user that made the commit; there's no
>  way to tell it that someone else wrote the patch and that you just
>  committed it. However, examining git-svn, there seems to be an
>  undocumented option. You can do this:
>
>  git svn dcommit --use-log-author
>
>  That uses the Signed-off-by: field in the commit message to extract
>  the author information. Of course it won't rescue the author field on
>  old commits, and you have to have Signed-off-by on any new ones to
>  gain any benefit.

Hmm, it looks like --use-log-author really affects git-svn fetch, not
commit: in other words, it pulls the signed-off-by information from
the svn repo when importing the commits back into git.

This is actually the clue I needed, which I think is: use
signed-off-by lines in the first place, because that will solve my
problem of tracking who wrote each patch :)

Have fun,

Avery
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux