[PATCH] filter-branch: handle deletion of annotated tags

2015-07-02 Thread Clemens Buchacher
If filter-branch removes a commit which an annotated tag points to, and that tag is in the list of refs to be rewritten, we die with an error like this: error: Ref refs/tags/a1t is at 699cce2774f79a0830d8c5f631deca12d4b1ee8c but expected ba247450492030b03e3d2a9d5fef7ef67519483e Could not

Re: [PATCH] filter-branch: handle deletion of annotated tags

2015-07-02 Thread Clemens Buchacher
If filter-branch removes a commit which an annotated tag points to, and that tag is in the list of refs to be rewritten, we die with an error like this: error: Ref refs/tags/a1t is at 699cce2774f79a0830d8c5f631deca12d4b1ee8c but expected ba247450492030b03e3d2a9d5fef7ef67519483e Could not