justone / dfm

dotfiles manager
http://endot.org/projects/#dfm
Other
123 stars 18 forks source link

Options passed to git subcommands are swallowed by dfm #19

Closed justone closed 10 years ago

justone commented 10 years ago
$ dfm branch foo
$ dfm branch -d foo
fatal: A branch named 'foo' already exists.

What's happening is dfm's options include --dry-run, which automatically shortens to -d, and the option parsing swallows that up before it gets to running git, making the resulting command git branch foo instead of git branch -d foo.

justone commented 10 years ago

Turns out, this was already fixed by an un-released commit: #7