diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-27 18:18:12 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-27 20:02:51 -0700 |
commit | de9360e2e00508000ab51daa126e6aa1149b24ad (patch) | |
tree | 75e854015e5574f3268624e01e1cbec1d11d0720 /qt-ui | |
parent | 4d48eb826279953d3809ec2420bcc3e848f4fa88 (diff) | |
download | subsurface-de9360e2e00508000ab51daa126e6aa1149b24ad.tar.gz |
make git save commit messages more informative
Instead of just having "Created by subsurface <version>", put the number
of dives and the location of the last dive in the message. That makes
things like "gitk" show a much more useful view of what actually got
saved.
We still save the subsurface version in the body of the message, because
that is interesting and relevant information. It's just not the
*primary* relevant information.
Anyway, with this, a git commit message might looke something like
dive 474: North West Point (Christmas Island)
Created by subsurface 4.0.96-17-g649e9ed89d9d
which is much more relevant for the common case of adding new dives at
the end.
Of course, if the reason for the save is that you edited old dives, the
relevance of the commit message telling you the number of dives you have
in the log and the dive number is questionable. But then you have to
look at the actual diff to see what's going on.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
0 files changed, 0 insertions, 0 deletions