threads / patch / 16208

patchDocumentation: Mention that 'bisect' is reserved branch name

Subject: [PATCH] Documentation: Mention that 'bisect' is reserved branch name

## tl;dr

3 messages between Nov 7, 2008 and Nov 7, 2008. Diffs are folded; open one to read it.

replies: 2people: 2as markdown or json

Abhijit Bhopatkar· Nov 7, 2008, 10:01 UTC · lore

"git bisect" uses 'bisect' branch to carry out it's operations. However "git branch" documentation does mention it. Add a note that 'bisect' can not be used as generic branch name by the user.

Signed-off-by: Abhijit Bhopatkar <bain@devslashzero.com>
---
Show changes to Documentation/git-branch.txt +3 −0
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index 6103d62..2ea99fd 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -203,6 +203,9 @@ but different purposes:
 - `--no-merged` is used to find branches which are candidates for merging
   into HEAD, since those branches are not fully contained by HEAD.

+The branch name 'bisect' is reserved for use by "git-bisect" and can not be
+used as a generic branch name.
+
 Author
 ------
 Written by Linus Torvalds <torvalds@osdl.org> and Junio C Hamano
<gitster@pobox.com>
Teemu Likonen· Nov 7, 2008, 10:13 UTC · re: Abhijit Bhopatkar · lore

Re: [PATCH] Documentation: Mention that 'bisect' is reserved branch name

Abhijit Bhopatkar (2008-11-07 15:31 +0530) wrote:
> "git bisect" uses 'bisect' branch to carry out it's operations.
> However "git branch" documentation does mention it.
> Add a note that 'bisect' can not be used as generic branch
> name by the user.
Hmm...
    commit 634f246444e6a1675e351f31362e6a375dc44f70
    Author: Christian Couder <chriscool@tuxfamily.org>
    Date:   2008-05-23 01:28:57 +0200
        bisect: use a detached HEAD to bisect
Abhijit Bhopatkar· Nov 7, 2008, 10:23 UTC · re: Teemu Likonen · lore

Re: [PATCH] Documentation: Mention that 'bisect' is reserved branch name

Show 10 quoted lines
>> "git bisect" uses 'bisect' branch to carry out it's operations.
>> However "git branch" documentation does mention it.
>> Add a note that 'bisect' can not be used as generic branch
>> name by the user.
> Hmm...
>    commit 634f246444e6a1675e351f31362e6a375dc44f70
>    Author: Christian Couder <chriscool@tuxfamily.org>
>    Date:   2008-05-23 01:28:57 +0200
>
>        bisect: use a detached HEAD to bisect
Cool, didn't know that ...

Submitted patch must be ignored Thanks

Abhijit

← back to recent threads