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

4 messages from 2010-10-08 to 2010-10-08. Participants: Brian Zitzow, Jonathan Nieder, Jeff King, Johannes Sixt.
Thread: https://gitlist.dev/t/25385

## Brian Zitzow, 2010-10-08 00:06

Subject: Re: fatal: BUG: dashless options don't support arguments
Message-ID: <AANLkTikqB-EvE6uxgBmutssJoiH2RiPjSxtjbo++Jj-X@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTikqB-EvE6uxgBmutssJoiH2RiPjSxtjbo%2B%2BJj-X%40mail.gmail.com
In-Reply-To: <AANLkTi=xscHHPTBtTJ3uXPO9y9gpQTBF4AWTe47C9njU@mail.gmail.com>

```
Hello,
 I was asked to report this bug error... Environment: OS 10.4.11 PowerPC:

Ki:$ git branch
* branch1
  master
Ki:$ git checkout master
fatal: BUG: dashless options don't support arguments
Ki:$ git --version
git version 1.7.3.GIT

```

## Jonathan Nieder, 2010-10-08 03:18

Subject: Re: fatal: BUG: dashless options don't support arguments
Message-ID: <20101008031818.GC992@burratino>
URL: https://gitlist.dev/e/20101008031818.GC992%40burratino
In-Reply-To: <AANLkTikqB-EvE6uxgBmutssJoiH2RiPjSxtjbo++Jj-X@mail.gmail.com>

```
[Context:
http://colabti.org/irclogger/irclogger_log/git?date=2010-10-06
http://thread.gmane.org/gmane.comp.version-control.git/128066/focus=145945 ]

Hi Brian,

Brian Zitzow 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

2. To track down the issue, if you like to read assembler:

 $ make builtin/checkout.s
 $ vi checkout.s

Good luck,
Jonathan

```

## Jeff King, 2010-10-08 04:11

Subject: Re: fatal: BUG: dashless options don't support arguments
Message-ID: <20101008041100.GA3272@sigill.intra.peff.net>
URL: https://gitlist.dev/e/20101008041100.GA3272%40sigill.intra.peff.net
In-Reply-To: <20101008031818.GC992@burratino>

```
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

```

## Johannes Sixt, 2010-10-08 06:59

Subject: Re: fatal: BUG: dashless options don't support arguments
Message-ID: <4CAEC140.20905@viscovery.net>
URL: https://gitlist.dev/e/4CAEC140.20905%40viscovery.net
In-Reply-To: <AANLkTikqB-EvE6uxgBmutssJoiH2RiPjSxtjbo++Jj-X@mail.gmail.com>

```
Am 10/8/2010 2:06, schrieb Brian Zitzow:
> Hello,
>  I was asked to report this bug error... Environment: OS 10.4.11 PowerPC:
> 
> Ki:$ git branch
> * branch1
>   master
> Ki:$ git checkout master
> fatal: BUG: dashless options don't support arguments
> Ki:$ git --version
> git version 1.7.3.GIT

Maybe related to this one:

http://thread.gmane.org/gmane.linux.kernel/973211/focus=973865

-- Hannes

```
