In our git log we sometimes see an asterisk after the user name in the Author column. The same user is listed without the asterisk in other commits.
What does the asterisk stand for?
I'm using IntelliJ IDEA 15.0.6.
Annotations for lines modified in the current revision, are marked with bold type and an asterisk. But I think it is important to clarify that this refers to lines modified in the current revision of the file, not the current revision of the repository.
To set a name for every Git repository on your machine, use $ git config --global user.name "John Smith" To set a name for a single repository, use $ git config user.name "John Smith"
IntelliJ IDEA does not have its own algorithm for calculating annotations; it simply runs the standard git blame command and parses its output. There is no way to force it to behave differently. You can find the code implementing the Annotate command in the IntelliJ IDEA Git plugin here.
IntelliJ IDEA lets you review the state of your project at a selected revision. Open the Git tool window Alt+9 and switch to the Log tab. Select a commit and choose Show Repository at Revision from the context menu.
Every change in GIT (and in the most of modern VCS's) has an author and a committer. The Log shows an author because we respect authorship even if the author of changes doesn't have access to the repo or isn't able to commit code by himself.
Asterisk on the author's name in the Log means that this commit was created by the described person, but was applied by someone else.
Here is an illustration of how it looks:
There are some common cases when this happens:
.patch
file mailed to you by someone else It indicates that commit is the most recent commit to modify the file.
Annotations for lines modified in the current revision are marked with a bold type and an asterisk.
https://www.jetbrains.com/help/idea/investigate-changes.html#annotate_blame
That (the asterisk) is usually when another user has rebased the commits of the original author. You can confirm this in the message window on the lower right. It will show you the original author along with "committed by" with the name of the user who did the rebase.
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