[PATCH 0/3] Make old sha1 optional with git update-ref -d
- From
Karl Hasselström <kha@treskal.com>
- Date
- May 25, 2008, 16:14 UTC
- Message-ID
- <20080525161125.25087.18083.stgit@yoghurt>
This series makes the old ref value optional for update-ref -d (it's already optional for update-ref without -d). But first it adds some test and refactors a bit.
---
Karl Hasselström (3):
Make old sha1 optional with git update-ref -d
Clean up builtin-update-ref's option parsing
Add some tests for git update-ref -dDocumentation/git-update-ref.txt | 2 +- builtin-update-ref.c | 32 ++++++++++++++++++-------------- t/t1400-update-ref.sh | 24 ++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 15 deletions(-)
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle