summaryrefslogtreecommitdiff
path: root/contrib/remote-helpers
diff options
context:
space:
mode:
authorLibravatar John Cai <johncai86@gmail.com>2022-03-02 22:27:24 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-02 15:24:47 -0800
commit758b4d2be8c009a07dfa86d8cafdf1375905ab45 (patch)
treee742b3f2155252359ccc0516168f0c4ea6fe2477 /contrib/remote-helpers
parentreflog: libify delete reflog function and helpers (diff)
downloadtgif-758b4d2be8c009a07dfa86d8cafdf1375905ab45.tar.xz
stash: call reflog_delete() in reflog.c
Now that cmd_reflog_delete has been libified an exported it into a new reflog.c library so we can call it directly from builtin/stash.c. This not only gives us a performance gain since we don't need to create a subprocess, but it also allows us to use the ref transactions api in the future. Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: John Cai <johncai86@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/remote-helpers')
0 files changed, 0 insertions, 0 deletions