Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gg commit tries to add unknown files from pathspec #74

Closed
zombiezen opened this issue Aug 23, 2018 · 0 comments
Closed

gg commit tries to add unknown files from pathspec #74

zombiezen opened this issue Aug 23, 2018 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@zombiezen
Copy link
Member

Steps to Reproduce

$ gg init
$ mkdir foo
$ touch foo/bar.txt foo/baz.txt
$ gg add foo/bar.txt
$ gg commit -m "first" foo

Expected Behavior

A new commit adding foo/bar.txt is added.

Actual Behavior

gg fails with the following error:

error: pathspec ':(top,literal)foo/baz.txt' did not match any file(s) known to git
gg: run git commit: exit status 1

Version Info

gg version 0.6.1, built on 2018-08-22T22:18:40Z
go: go1.10.3 gc linux/amd64
git version 2.18.0
@zombiezen zombiezen added the bug Something isn't working label Aug 23, 2018
@zombiezen zombiezen added this to the 0.7 milestone Aug 23, 2018
zombiezen added a commit that referenced this issue Jan 4, 2019
…tory

This was likely fixed in f05bca9 when I
changed the internals of the commit command.

Fixes #74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant