Re: [PATCH 2/2] doc/git-branch: Document the --current option

2018-10-09 Thread Junio C Hamano
Daniels Umanovskis writes: > +--current:: > + Print the name of the current branch. In detached HEAD state, > + or if otherwise impossible to resolve the branch name, print > + "HEAD". Where does "if otherwise impossible to resolve" come from? In the code in [PATCH 1/2], we see this

[PATCH 2/2] doc/git-branch: Document the --current option

2018-10-09 Thread Daniels Umanovskis
Signed-off-by: Daniels Umanovskis --- Documentation/git-branch.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt index bf5316ffa..a7167df74 100644 --- a/Documentation/git-branch.txt +++ b/Documentation/git-bran