Subject: 'git branch --no-merge' is ambiguous

From: Johannes Sixt <[email-masked]>
Date: Fri, 25 Sep 2009 12:28:57 +0200

Look here:

 $ git branch --merge
 * master
 $ git branch --no-merge
 error: Ambiguous option: no-merge (could be --no-merged or --no-merged)
 usage: ...
     --no-merged <commit>  print only not merged branches
     --merged <commit>     print only merged branches

I tried to debug it, but parse_long_opt() is such awful spaghetti code
that I don't grok it. Please help.

-- Hannes