Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Both Subversion and Git keep authors in commits, but those authors entities differ in those two systems authors differ.

In SVN, the author is being stored as an unversioned revision property, namely property svn:author. Every time a Subversion user makes a commit, SVN creates a new revision and sets this revision svn:author property to be equal to that exact user's name, e.g. johndoe in this casefor example johndoe:

Code Block
languagetext
themeFadeToGrey
titleSVN revision
------------------------------------------------------------------------
r163 | johndoe | 2017-06-07 20:22:15 +0500 (Wed, 07 Jun 2017) | 1 line
Changed paths:
   A /project
   A /project/branches
   A /project/tags
   A /project/trunk

initial layout for the project
------------------------------------------------------------------------

????

$ svn proplist -v --revprop --revision 163

Unversioned properties on revision 163:

  svn:author

    johndoe

  svn:date

    2017-06-07T15:22:15.655243Z

  svn:log

    initial layout for the project


Git , in turn, also stores author 's name along with every commitcommits, but this name differs from that in SVN: whereas SVN stores actual username, Git author name consists of name and email:

No Format
Git User <gituser@domain.com>













Git stores a name that's set by user.name Git directive, e.g., by global setting:

...