Verbose console log on non-version controlled files
leesei opened this issue · 5 comments
I see (from status line) it is trying to invoke
git diff --no-color --no-ext-diff -- Note.md
which is not version controlled.
Then this will show up in the log (Ctrl+</kbd>)
usage: git diff [--no-index] `
Can this be hidden?
Ideally, Modific should check if a file is not in the .gitignore before doing git diff
.
I'll try to fix this, but can't tell when it will be fixed.
I don't have a git repo in this case.
But what you identified is indeed another use case.
On Fri, Dec 20, 2013 at 11:01 PM, Aleksandr Gornostal <
notifications@github.com> wrote:
Ideally, Modific should check if a file is not in the .gitignore before
doing git diff.
I'll try to fix this, but can't tell when it will be fixed.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/56#issuecomment-31014996
.
How Modific works is it tries to find .git
folder near your file or in directories above.
So you should have it somewhere, otherwise it's very odd you get that error.
So I removed that message from the status bar. Although I couldn't figure out why you see it in console as well.
Thanks for the update.