summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 738bee4)
raw | patch | inline | side by side (parent: 738bee4)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 10 Oct 2007 14:49:28 +0000 (16:49 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 10 Oct 2007 14:57:24 +0000 (16:57 +0200) |
tig.c | patch | blob | history |
index a3cebbf305803fb8108ddb86093401cac3943b2c..06c3d040d9352029bf62cae4df7e99f81ca2b666 100644 (file)
--- a/tig.c
+++ b/tig.c
break;
case REQ_STATUS_MERGE:
+ if (!status || status->status != 'U') {
+ report("Merging only possible for files with unmerged status ('U').");
+ return REQ_NONE;
+ }
open_mergetool(status->name);
break;