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