aboutsummaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2014-05-14 05:55:00 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-14 06:16:41 +0900
commit3159a90b0aa670c7a82f931412e681d195528aab (patch)
tree8db2d3fa9095a2c7f864a76b9d0b1df4d6bde13b /deco.c
parented6a42f6f2e4309edda0c7c02d8df229a32c9315 (diff)
downloadsubsurface-3159a90b0aa670c7a82f931412e681d195528aab.tar.gz
git save: don't crash if the last dive isn't in a trip
The git save tries to generate a nice commit message based on the most recent dive, but stupidly didn't check whether that dive was in a trip or not, and unconditionally used the trip pointer to see if there was a trip location. Which works well enough if you always generate trips, but is an unmitigated disaster otherwise. Oops. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'deco.c')
0 files changed, 0 insertions, 0 deletions