aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJay Soffian <jaysoffian@gmail.com>2009-02-25 03:32:25 -0500
committerJunio C Hamano <gitster@pobox.com>2009-02-27 15:19:09 -0800
commitbc14fac825d9728c311aaa9d0aecf4960d4a3103 (patch)
treece2262b80efa48bfca8bc4fa48602fe169eda91d /contrib
parente61e0cc6b7061d7e791e1c9722b9c4a6d85d629c (diff)
downloadgit-bc14fac825d9728c311aaa9d0aecf4960d4a3103.tar.gz
git-bc14fac825d9728c311aaa9d0aecf4960d4a3103.tar.xz
builtin-remote: add set-head subcommand
Provide a porcelain command for setting and deleting $GIT_DIR/remotes/<remote>/HEAD. While we're at it, document what $GIT_DIR/remotes/<remote>/HEAD is all about. Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 0a3092f64..15b938b90 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1443,7 +1443,7 @@ _git_config ()
_git_remote ()
{
- local subcommands="add rename rm show prune update"
+ local subcommands="add rename rm show prune update set-head"
local subcommand="$(__git_find_subcommand "$subcommands")"
if [ -z "$subcommand" ]; then
__gitcomp "$subcommands"