[U-Boot-Users] [PATCH] Add .gitignore files
Stefan Roese
sr at denx.de
Tue Feb 27 08:01:31 CET 2007
On Tuesday 27 February 2007 07:42, Grant Likely wrote:
> > > There is a strongly established workflow convention use by other
> > > git-using projects. The workflow for committing is this:
> > > $ git-status # to show what has changed/added/removed
> > > $ git-update-index # as needed to update the index
> > > $ git-commit # make it real;
> > > It should be noted that 'make clean' is not a required step for the
> > > commit workflow.
> > >
> > > Alternately, the same thing is done with cogito:
> > > $ cg-status
> > > $ cg-commit
> >
> > I can do this fine even with uncleanded files. cg-commit will not anny
> > files that have not been added with cg-add.
> >
> > Is this different with above sequence of git commands?
>
> No it's not different. Your right. New files must always be
> explicitly added.
If I understand it correctly, then the main usage difference between you (core
git users) and Wolfgang (and me by the way) cogito users, is the handling of
new files. With git-update-index all new files are added to the index
automatically (without parameters), right? Using cg-add you have to either
name the files explicitly you want to add, or use the "-a" option.
Even as cogito user (and I'm thinking again about switching to using the core
git commands more and more), I vote for adding this .gitignore file, since it
really seems to be needed in this workflow. And we want to make it as easy
for most of the people to work on this project.
> > You leave me no sane way out but to give in, but at least I want to
> > understand why all this is needed. I don't get it yet.
>
> Hehehe, I probably owe you like 10 beers to offset some of the debates
> I've instigated lately. Are you going to be able to make it to OLS
> this year?
Could be that I will make it this year. Perhaps I can act here as
Wolfgangs "substitute"? ;-)
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
=====================================================================
More information about the U-Boot
mailing list