Revisit the fix for the segfault in the stage view
commit50d3b34649a5c287cc9eafa7891ee622b06d3b58
authorJonas Fonseca <jonas.fonseca@gmail.com>
Sat, 21 Feb 2015 14:08:41 +0000 (21 09:08 -0500)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Sat, 21 Feb 2015 14:08:41 +0000 (21 09:08 -0500)
treef7cfdd5692aba0e759efcbc0ae4c4cc9f729bf45
parent89fd5f0a90dd0647de6d91a1029a1ed95bac741d
Revisit the fix for the segfault in the stage view

Only check if the stage line exists in the parent view if there actually
is a parent view defined.

References #376
src/stage.c
test/main/update-unstaged-changes-test