gitless
gitless copied to clipboard
`diff` should show change in file mode
In a directory with a .git, gl status gives me:
On branch gh-pages, repo-directory //
Tracked files with modifications: ➜ these will be automatically considered for commit ➜ use gl untrack f if you don't want to track changes to file f ➜ if file f was committed before, use gl checkout f to discard local changes
.gitignore
... plus all other files
Untracked files: ➜ these won't be considered for commit ➜ use gl track f if you want to track changes to file f
There are no untracked files to list
This is a surprise as I thought everything had been committed, anyhow let's
do gl diff :
! No diffs to output for .gitignore etc etc for all the other files.
I appear to be being told that all files are out of date, but there are no diffs?
This looks like a bug. What do you get if you do git status and git diff .gitignore?
git status shows all files modified then
no changes added to commit (use "git add" and/or "git commit -a")
diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
so looks as though I need to do the git incantations first?
This is a bug in Gitless. gl diff should show the change in file modes.