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 parsing Documentation/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@xxxxxxxxxxx www.treskal.com/kalle -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html