add some documentation on how it behaves with git-log
Timeline
Guilbert Pierre (guilbep) opened
I'm a user of the git log --all --decorate --oneline --graph and I was surprised to see the commits used by git-bug appearing under the author ' <>'.
It is not mentioned in the documentation that it will be the case
Maybe it's because of something I did? Is the author always ' <>' ? Is there any reason ?
It's easy to hide them with the following command git log --all --decorate --oneline --graph --perl-regexp --author='^((?! <>).*)$'
Maybe we should add some information about this in the documentation.
I'd be glad to write a pull request, but I'm not sure where to document this or even if it's necessary. But I thought it was missing.
Michael Muré (MichaelMure) commented
Hmmm, git-bug put his data into refs/bugs/* or refs/identities/*, which are normally ignored by git commands. The problem is that you explicitly ask to show them with --all. Is that really necessary?
The author is not set in those commits because it's not meant for human consumption and therefore unnecessary. The actual author that git-bug use is set in the JSON stored in the git Blob.
Guilbert Pierre (guilbep) commented
Ow, I could use git log --decorate --oneline --graph --exclude="refs/bugs/*" --exclude="refs/identities/*" --all . then :) It's better.