git-review: save reference to mailed revision using tag

Git mail in the branch named work tags the revision that just got mailed
as work.mailed, overwriting the tag if one already exists. This will let you
run things like

	git diff work.mailed

to see what you've changed since the last time you did a git mail.

The reflog will store the tag history, so you can also diff against older
mailed copies:

	git diff work.mailed@{2}
	git diff work.mailed work.mailed@{2}

Fixes golang/go#9293.

Change-Id: Ifae4c4601c6c9641db88383d52a021087b806e74
Reviewed-by: David Crawshaw <>
Reviewed-by: Andrew Gerrand <>
1 file changed
tree: 87679475513c6864edbda5da3b103150d30d74da
  2. git-review/