Martin Mares [Thu, 9 Apr 2015 14:16:40 +0000 (16:16 +0200)]
Update2: Improved detection of source branches
When a new branch or tag is created, we tried to detect the branch
where the current commit comes from.
The new detection code is more robust (it parses the output of
"git for-each-ref" instead of "git branch") and it adds a hint when
multiple source branches match.
Martin Mares [Mon, 16 Jul 2012 18:07:35 +0000 (20:07 +0200)]
Update2: Recognize merges this->another in addition to another->this
This is useful whenever somebody merges two branches and pushes the
result to both of them.
However, both branches must be local. When "git pull" merges with
a remote tracking branch, the commit message includes the name
of the remote, so our test does not trigger (intentionally).
Martin Mares [Mon, 2 Jul 2012 14:02:10 +0000 (16:02 +0200)]
Update2: Do not reverse history
Diffs might be easier to read in chronological order, but otherwise
the history is easier to read from the newest entry and it is more
important to be consistent.