What's the difference between a commit and revision? We use SVN, and get metrics from Atlassian Fisheye. There is a report in Fisheye that shows the 'top committers - by revision' and 'top commiters - by commits'.
No-one here can tell me what the difference is.
Many thanks! Andy
A commit, or "revision", is an individual change to a file (or set of files). It's like when you save a file, except with Git, every time you save it creates a unique ID (a.k.a. the "SHA" or "hash") that allows you to keep record of what changes were made when and by who.
Commit uploads your changes on the CVS / SVN server, and Update overwrites the files on your localhost with the ones on the server.
As a special rule, rev^0 means the commit itself and is used when rev is the object name of a tag object that refers to a commit object. A suffix ~ to a revision parameter means the commit object that is the th generation grand-parent of the named commit object, following only the first parent.
In version control systems, a commit is an operation which sends the latest changes of the source code to the repository, making these changes part of the head revision of the repository.
A commit can contain many file revisions. A file revision is basically a file that is modified as part of a commit so a single commit can have many revisions.
http://confluence.atlassian.com/display/FISHEYE/Glossary#Glossary-Commit
So "Top Committers - By Commit" shows the users who have committed the most changesets/changelists and "Top Committers - By Revision" shows the users who have created the most file versions as part of their commits.
http://confluence.atlassian.com/display/FISHEYE/FishEye+Charts?focusedCommentId=221448800#comment-221448800
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With