[PATCH v2 0/2] Make old sha1 optional with git update-ref -d
- From
Karl Hasselström <kha@treskal.com>
- Date
- Jun 2, 2008, 23:34 UTC
- Message-ID
- <20080602233244.26087.51827.stgit@yoghurt>
- In-Reply-To
- <20080525193213.GB5674@diana.vm.bytemark.co.uk>
This series makes the old ref value optional for update-ref -d (it's already optional for update-ref without -d).
---
Patch 1/2 updated after comments from Junio.
Karl Hasselström (2):
Make old sha1 optional with git update-ref -d
Clean up builtin-update-ref's option parsingDocumentation/git-update-ref.txt | 2 +- builtin-update-ref.c | 36 ++++++++++++++++++++---------------- t/t1400-update-ref.sh | 8 ++++++++ 3 files changed, 29 insertions(+), 17 deletions(-)
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle