
26 Feb
2007
26 Feb
'07
5:58 p.m.
Wolfgang Denk wrote:
I never felt the need for a .gitignore file; mayby you can explain what you need it for?
To keep the output of git-status clean. I need to do a "make clean" in order for git-status to give me meaningful results.
Another reason for .gitignore is to avoid accidentally including target files in a patch.
-> cg-status ... ? LOG/ ? board/amcc/yellowstone/ -> git-ls-files --others LOG/cam5200.ERR LOG/cam5200.MAKELOG ->
The first command shows me that there is a stale (empty) directory left, the second doesn't.
Hmmm... git-status doesn't show the LOG directory either.
If git-ls-files were updated to include empty directories, would you be willing to have .gitignore files?
--
Timur Tabi
Linux Kernel Developer @ Freescale