git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG 1.7.9: git branch fails to create new branch when --edit-description is used
@ 2012-01-27 21:52 Mark Jason Dominus
  2012-01-27 23:21 ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Jason Dominus @ 2012-01-27 21:52 UTC (permalink / raw)
  To: git


This should work, but doesn't:

        % git branch
        * master
        % git branch  --edit-description  blarf
        [Edit description and exit editor normally]
        % cat .git/BRANCH_DESCRIPTION 
        I like blarf
        # Please edit the description for the branch
        #   blarf
        # Lines starting with '#' will be stripped.
        % git branch -a
        * master

Where is branch blarf?

Creating the branch and editing the description afterwards works correctly:

        % git branch blarf
        % git branch  --edit-description  blarf
        % git branch -a
          blarf
        * master
        % cat .git/config 
        [core]
                repositoryformatversion = 0
                filemode = true
                bare = false
                logallrefupdates = true
        [branch "master"]
                description = I like pie\n
        [branch "blarf"]
                description = I like blarf\n


Mark Jason Dominus 	  			                 mjd@plover.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-01-29 21:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-27 21:52 BUG 1.7.9: git branch fails to create new branch when --edit-description is used Mark Jason Dominus
2012-01-27 23:21 ` Junio C Hamano
2012-01-28  6:46   ` Michael Haggerty
2012-01-28  7:27     ` Junio C Hamano
2012-01-29  3:18       ` Jeff King
2012-01-29  6:30       ` Michael Haggerty
2012-01-29  6:42         ` Junio C Hamano
2012-01-29 10:11           ` Michael Haggerty
2012-01-29 21:49         ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).