Thread (1 message) 1 message, 1 author, 2016-06-15

Re: MERGE_RR droppings

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:10

David Aguilar [off-list ref] writes:
quoted
Perhaps mergetool should consider a missing MERGE_RR and an empty
one the same way?
Would that test look (roughly) like this?

    if test -f "$GIT_DIR/MERGE_RR" && test -n "$(cat "$GIT_DIR/MERGE_RR")"
Hrm, would "test -s $that_file" be simpler?

    then
	files=$(git rerere remaining)
    else
	files=$(git ls-files -u | sed -e 's/^[^	]*	//' | sort -u)
    fi
    ...

If so I'll throw together a patch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help