aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-10-01 22:01:14 +0200
committerMichael Muré <batolettre@gmail.com>2018-10-01 22:01:14 +0200
commitaea85f04293210b94c6faa0ac9cb950a9239bd5b (patch)
treef03b4c1a511156af1719ebacd16ff4d30dfb24d9 /Makefile
parentde81ed49e67ce47bd931bd6f84bd1bb8a2167262 (diff)
downloadgit-bug-aea85f04293210b94c6faa0ac9cb950a9239bd5b.tar.gz
makefile: also clear the cache after deleting the bugs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 83e753c8..17275db0 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@ debug-webui:
clean-local-bugs:
git for-each-ref refs/bugs/ | cut -f 2 | xargs -r -n 1 git update-ref -d
git for-each-ref refs/remotes/origin/bugs/ | cut -f 2 | xargs -r -n 1 git update-ref -d
+ rm -f .git/git-bug/cache
clean-remote-bugs:
git ls-remote origin "refs/bugs/*" | cut -f 2 | xargs -r git push origin -d