rebase -m: only call "notes copy" when rewritten exists and is non-empty
authorAndrew Wong <andrew.kw.w@gmail.com>
Sat, 25 Feb 2012 04:31:22 +0000 (23:31 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2012 00:32:37 +0000 (16:32 -0800)
commitad687b447a87efaf61c39075da2ef81b85715186
tree7de112331532bc3064f1bb75d33a1d5551f88ac8
parent39cb6445d9bf5794723bb656499168c3d1b31774
rebase -m: only call "notes copy" when rewritten exists and is non-empty

This prevents a shell error complaining rebase-merge/rewritten doesn't exist.

Signed-off-by: Andrew Wong <andrew.kw.w@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--merge.sh