summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7868544)
raw | patch | inline | side by side (parent: 7868544)
author | Jonas Fonseca <fonseca@diku.dk> | |
Fri, 23 Jan 2009 11:37:08 +0000 (12:37 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Fri, 23 Jan 2009 11:37:08 +0000 (12:37 +0100) |
tig.c | patch | blob | history |
index 88338d0f2832b59f6390d56a8f100efe0bac948a..010efc547832c208621b1e73ba6776e2649b092f 100644 (file)
--- a/tig.c
+++ b/tig.c
}
open_view(view, REQ_VIEW_DIFF, flags);
+ if (VIEW(REQ_VIEW_DIFF)->pipe && !strcmp(blame->commit->id, NULL_ID))
+ string_copy_rev(VIEW(REQ_VIEW_DIFF)->ref, NULL_ID);
break;
default: