initial description
This commit is contained in:
parent
144da5381c
commit
a2eaf62ef8
1 changed files with 33 additions and 0 deletions
|
@ -0,0 +1,33 @@
|
|||
### Please describe the problem.
|
||||
|
||||
When the reflog is empty, time-based `--in` expressions give scary messages that makes it look like something is really broken.
|
||||
|
||||
Instead of `Fatal: Log blabla is empty` and `Broken pipe` a reasonable message would be e.g. `warning: Log for 'refs/heads/git-annex' is empty.`
|
||||
|
||||
### What steps will reproduce the problem?
|
||||
|
||||
Emptying reflog for `refs/heads/git-annex`, then using an `--in=here{date}` option to e.g. `git annex fsck`.
|
||||
|
||||
### What version of git-annex are you using? On what operating system?
|
||||
|
||||
`git-annex version: 5.20140412ubuntu1` on Ubuntu Trusty.
|
||||
|
||||
### Please provide any additional information below.
|
||||
|
||||
[[!format sh """
|
||||
# If you can, paste a complete transcript of the problem occurring here.
|
||||
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
|
||||
|
||||
$ git reflog expire --expire=all refs/heads/git-annex
|
||||
$ git annex find --not --in here@{yesterday}
|
||||
fatal: Log /home/clacke/pics/.git/logs/refs/heads/git-annex is empty.
|
||||
fatal: Log /home/clacke/pics/.git/logs/refs/heads/git-annex is empty.
|
||||
[ . . . ]
|
||||
^C
|
||||
git-annex: fd:10: hGetLine: end of file
|
||||
git-annex: fd:9: hFlush: resource vanished (Broken pipe)
|
||||
git-annex: fd:9: hFlush: resource vanished (Broken pipe)
|
||||
[ . . . ]
|
||||
|
||||
# End of transcript or log.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue