git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git branch --editdescription fatal error

From
JLJake Lambert <jake@onahill.co>
Date
Jan 6, 2017, 17:25 UTC
Message-ID
<MWHPR19MB11357994E6C43DBCC0931CD7BC630@MWHPR19MB1135.namprd19.prod.outlook.com>
Hello,
When executing "git branch <branch> --edit-description" on a branch with no description set, I get "fatal: could not unset 'branch.<branch>.description". It would seem that the unsetting piece should occur only after checking if it was set in the first place. I am not too familiar with the inner workings of git, but if you accept pull requests, I'm happy to give it a shot if you can give me directions as to how to submit one to you.
While I have you, I would also like to make a feature request for branch descriptions to (optionally) be included in the output of git branch <noargs> (or something like git branch --descriptions). This is particularly helpful where branch names match JIRA tickets numbers or are simply so old I don't remember what they are but don't want to delete them just in case.
Thank you for maintaining this absolutely wonderful program, and have a happy New Year!
Best,
Jake
     
 Jake Lambert
 Full Stack Developer
 
 
 The Company On A Hill
 www.onahill.co
    
Next: Stefan Beller
Message 1 of 6 in “git branch --editdescription fatal error”
  1. Jake LambertJan 6, 2017
  2. Stefan BellerJan 6, 2017
  3. Ralf ThielowJan 6, 2017
  4. Stefan BellerJan 6, 2017
  5. Ralf ThielowJan 6, 2017
  6. Jeff KingJan 6, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.