Re: MERGE_RR droppings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Aguilar <davvid@xxxxxxxxx> writes:

>> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]