Skip to content
New issue

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

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

Already on GitHub? # to your account

diff fails on empty repository #68

Open
marstr opened this issue May 18, 2020 · 0 comments
Open

diff fails on empty repository #68

marstr opened this issue May 18, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@marstr
Copy link
Owner

marstr commented May 18, 2020

System Information
Version:  v0.2.0-alpha-modified
System: linux/amd64
Go:  go1.14.2
Source Revision:  16abc7be5a5ad17a0aeb0f1a7815f5e13a67bd1b

What did you do?

baronial init
mkdir accounts/checking
mkdir -p budget/food/grocery
baronial credit 10.89 ./accounts/checking/ ./budget/food/grocery/
baronial diff

What did you expect to happen?

A summary of the 10.89 being added to the checking account and grocery budget should have been printed.

What actually happened?

An error message was spat out, complaining that 0000000000000000000000000000000000000000.json doesn't exist.

Stack Trace
ERRO[0000] open /home/marstr/.tmp/tmp.7w3FkcD1mq/.baronial/objects/0000000000000000000000000000000000000000.json: no such file or directory 
Error: exec: not started
Usage:
  baronial diff [refspec] [refspec] [flags]

Flags:
-h, --help help for diff

exec: not started

@marstr marstr added the bug Something isn't working label May 18, 2020
@marstr marstr changed the title diff fails on empty reposity diff fails on empty repository May 18, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant