I've asked Joey about this and he replied:
git log does not display the committer by default. git log --pretty=full will
show it.
I've confirmed that this is the case indeed and am closing the bug as
invalid therefore.
** Changed in: etckeeper (Ubuntu)
Status: Triaged => Invalid
** Sum
> Since I don't seem to be able to amend an existing bug, I'll paste the
> output inline:
You could have uses "apport-collect $BUG", or "ubuntu-bug -u $BUG" (the latter
being buggy currently though).
--
http://daniel.hahler.de/
--
SUDO_USER not tracked in git
https://bugs.launchpad.net/bugs/
Ah, ubuntu-bug it is now, thanks for the hint. I've tried to use reportbug
(like I'm used to from Debian) in the past but that didn't work back then, so I
just used launchpad (which is a bit of a PITA because I have to use a browser
and need to be online).
Since I don't seem to be able to amend
Tested it with etckeeper 0.41ubuntu3
Sascha, when reporting bugs, please use "ubuntu-bug $PACKAGE", so extra
information would have been added. I assume you've used 0.41ubuntu3,
too?
** Changed in: etckeeper (Ubuntu)
Status: New => Triaged
** Changed in: etckeeper (Ubuntu)
Importance:
git-var is about printing/getting logical vars:
$ export GIT_COMMITTER_EMAIL=foo
$ export GIT_COMMITTER_NAME=bar
$ git var GIT_COMMITTER_IDENT
bar 1267990487 +0100
But I can confirm that it does not use $SUDO_USER here, too:
When using "sudo etckeeper commit", the config from ~/.gitconfig is used