Re: fatal: BUG: dashless options don't support arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 07, 2010 at 10:18:18PM -0500, Jonathan Nieder wrote:

> > Ki:$ git checkout master
> > fatal: BUG: dashless options don't support arguments
> 
> Strange indeed.  Here's what I would suggest:
> 
> 1. For debugging output:
> 
>  $ echo 'prefix=/usr/local' >>config.mak; # or whatever prefix you use
>  $ git describe
>  $ gcc --version
>  $ wget 'http://download.gmane.org/gmane.comp.version-control.git/128067/128068'
>  $ git am -3 128068
>  $ make
>  $ bin-wrappers/git checkout m

Yeah, I would be curious to see the output of that. Interesting, too,
that it seems to happen with multiple commands (it looked like it
happened with "git push foo" in the pastebin from the irc log).

> 2. To track down the issue, if you like to read assembler:
> 
>  $ make builtin/checkout.s
>  $ vi checkout.s

Ugh. I think a better course of action is to find out which option is
being munged (from step 1 above), and then try running it under gdb with
a watch set on that option struct. Assuming it's easily reproducible of
course.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]