Re: [hackers] [sbase] [PATCH] Add .gitignore

From: Quentin Rameau <>
Date: Mon, 17 Jun 2019 22:15:48 +0200

> > I'm not really keen on pushing this file to the source history, I think
> > this should be kept separate, this is a user-side feature.
> What's the downside to having it checked into the repository? Are
> there any reasons why a user wouldn't want this feature? Personally, I
> want it in every clone of sbase I make, and I imagine most other
> people want this as well. It is annoying to have `git status` scroll
> my changes off the screen due to all the build artifacts.

Well, personnaly I don't want it, I prefer to have a clear view of the
clone status, hence the “user-side feature”, as in user-specific

> > But having a rule un the Makefile, as you did, is a good compromise
> > there, if the user wants it, he can have it with little additionnal
> > effort.
> >
> > So I'd be for pushing the Makefile rule, not committing the actual file
> > into the development history
> The place for user-specific and repository-specific ignored files is
> .git/info/exclude. But in general, we don't know the location of the
> .git directory, so we'd probably have to use some git command to
> figure out exactly where to put it.

There's no “we”, that's the user's responsability to figure out where
to put it.

What's the rationale for having it duplicated both in the SCM and in the
Makefile then?
Received on Mon Jun 17 2019 - 22:15:48 CEST

This archive was generated by hypermail 2.3.0 : Mon Jun 17 2019 - 22:24:25 CEST