Following strange happens on my machine:
git status
claims the working tree to be clean.
manuel@manuelthinkpad:~/projects/PROJECTNAME/modules/MODULENAME$ git status
On branch BRANCHNAME
Your branch is up-to-date with 'origin/BRANCHNAME'.
nothing to commit, working tree clean
Still git add *
adds two directories:
manuel@manuelthinkpad:~/projects/PROJECTNAME/modules/MODULENAME$ git add *
manuel@manuelthinkpad:~/projects/PROJECTNAME/modules/MODULENAME$ git status
On branch BRANCHNAME
Your branch is up-to-date with 'origin/BRANCHNAME'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: dir1
modified: dir2
git diff --cached
doesn't give any details on these changes.
manuel@manuelthinkpad:~/projects/PROJECTNAME/modules/MODULENAME$ git diff --cached
manuel@manuelthinkpad:~/projects/PROJECTNAME/modules/MODULENAME$
Can anyone tell me what's going on here? How do get git to tell me why it adds these directories?
I read something about CRLF-related problems, but if I read git config --list
correctly, none of this CRLF-ignore-functionality is activated. (I removed *.url, *.fetch, *.remote and *.merge entries from this list.)
user.name=xxx
user.email=xxx
diff.tool=meld
difftool.prompt=false
difftool.meld.cmd=meld $LOCAL $REMOTE
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.worktree=../../../../xxx