author | Karl Hasselström <kha@treskal.com> | |
Mon, 2 Jun 2008 23:34:48 +0000 (01:34 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 3 Jun 2008 05:45:48 +0000 (22:45 -0700) | ||
commit | 973a70ea4d9fc98e9ed20c261c5f6c8f1c1df2b0 | |
tree | 83d3d5b1ad138a2e20abdd679b02b573a0de94ea | tree | snapshot |
parent | 06f60e8edf1eb3a91e1af6f255bf46154168dd86 | commit | diff |
Clean up builtin-update-ref's option parsing
builtin-update-ref's option parsing was somewhat tricky to follow,
especially if the -d option was given. This patch cleans it upp a bit,
at the expense of making it a bit longer.
Signed-off-by: Karl Hasselström <kha@treskal.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-update-ref's option parsing was somewhat tricky to follow,
especially if the -d option was given. This patch cleans it upp a bit,
at the expense of making it a bit longer.
Signed-off-by: Karl Hasselström <kha@treskal.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-update-ref.c | diff | blob | history |