From: David Turner Date: Sun, 4 Sep 2016 16:08:40 +0000 (+0200) Subject: refs: make delete_refs() virtual X-Git-Tag: v2.11.0-rc0~143^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a27dcf89b6867577bb714e181dd181cd1a1e6512?ds=inline;hp=a27dcf89b6867577bb714e181dd181cd1a1e6512 refs: make delete_refs() virtual In the file-based backend, delete_refs has some special optimization to deal with packed refs. In other backends, we might be able to make ref deletion faster by putting all deletions into a single transaction. So we need a special backend function for this. Signed-off-by: David Turner Signed-off-by: Junio C Hamano Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano ---