]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/update-ref.c
update-ref: support multiple simultaneous updates
authorBrad King <brad.king@kitware.com>
Mon, 9 Sep 2013 13:22:32 +0000 (09:22 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2013 16:54:37 +0000 (09:54 -0700)
commitc750ba9519f7e25a22072578a80ac0eafb423ed1
treeb1e4518c0feb3ccd3591d7a9ec105c32c3158aeb
parent98aee92d5c9e5161a8c11b7666996e4ffffe80ab
update-ref: support multiple simultaneous updates

Add a --stdin signature to read update instructions from standard input
and apply multiple ref updates together.  Use an input format that
supports any update that could be specified via the command-line,
including object names like "branch:path with space".

Signed-off-by: Brad King <brad.king@kitware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-update-ref.txt
builtin/update-ref.c