[U-Boot-Users] [PATCH] Add .gitignore files
Wolfgang Denk
wd at denx.de
Mon Feb 26 22:38:27 CET 2007
In message <45E311C9.4060905 at freescale.com> you 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.
That's what I do, too. What's the problem with that?
Also, you could get used to using the O= option and put the builkd
tree in a separate directory, so you don't even have to run "make
clean".
And as mentioned before, I see the benefit of the current situation
that it clearly shows if "make clean" fails to clean up any files it
should.
> If git-ls-files were updated to include empty directories, would you be willing
> to have .gitignore files?
Willing...
To be honest: no. My regular working mode is to use "cg-status" to
see what was changed / added etc. before I commit a change. For me it
is very convenient when I see any stray files at the same time
without need to run any other command.
But I'm willing to listen to arguments. At the moment it's that
either I have to run an additional command I didn't need to use
before, or you have to run "make clean" or use "O=". I don't see any
significant difference of added inconvenience between these two. So I
tend to shift the inconvenience to you :-)
However, if you have a *good* reason for using .gitignore files, I
will reconsider.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Youth doesn't excuse everything.
-- Dr. Janice Lester (in Kirk's body), "Turnabout Intruder",
stardate 5928.5.
More information about the U-Boot
mailing list