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

Snapshot prints misleading message when working tree only contains untracked files #10

Closed
Brickster opened this issue Jun 15, 2015 · 0 comments
Labels

Comments

@Brickster
Copy link
Owner

If git snapshot is used when the working tree only contains untracked files then Already up-to-date! is printed. This makes it sound like nothing happened.

$ git status --short
?? CONRIBUTING.md
$ git snapshot
Already up-to-date!
@Brickster Brickster added the bug label Jun 15, 2015
@Brickster Brickster changed the title Snapshot prints misleading message when snapshot contains only untracked files Snapshot prints misleading message when working tree only contains untracked files Jun 15, 2015
Brickster added a commit that referenced this issue Jan 8, 2018
When applying a snapshot only containing untracked files, the --quiet flag won't keep the command silent. Now all output is swallowed.

Fixes #10.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant