On Sat, 02 Nov 2013 13:52:11 +0100, Luca Barbato <[email protected]> wrote:
> On 02/11/13 10:13, Diego Biurrun wrote:
> > On Sat, Nov 02, 2013 at 12:34:57AM +0100, Luca Barbato wrote:
> >> Quite useful to be able to git-clean while using .builddirs.
> >> ---
> >>  .gitignore | 1 +
> >>  1 file changed, 1 insertion(+)
> >> --- a/.gitignore
> >> +++ b/.gitignore
> >> @@ -1,3 +1,4 @@
> >> +.*/
> >>  *.a
> > 
> > I don't quite like just ignoring all directories starting with '.'.
> 
> It is the whole point.
> 
> > If at all, more explicit patterns would be better.  What is this
> > .builddirs thing anyway?
> 
> I have
> 
> .master
> .vp9
> .bmd
> .release9
> .release0.8
> .coverage
> .security
> .qsv-simple
> .qsv-simple-win32
> .win32
> .arm
> .fate
> .cparser
> 
> All of them are build trees (.hevc and few others got away lately =)),
> using my patch I can keep them and use git on the source including git
> clean.
> 
> Among the nice things of this setup is that I can switch from a topic
> branch to another, rebase it and just issue make config on the right dir.
> 
> The only missing bit is not having git clean.
> 

You can have your personal ignore stuff in .git/info/exclude. No reason to add
it to the main repository.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to