[libvirt] [PATCH] gitignore: ignore more files

Michal Privoznik mprivozn at redhat.com
Thu Nov 1 09:21:08 UTC 2012


On 01.11.2012 10:07, Peter Krempa wrote:
> On 11/01/12 08:55, liguang wrote:
>> ignore *.patch, cscope.po.out, cscope.in.out, tags
>>
>> Signed-off-by: liguang <lig.fnst at cn.fujitsu.com>
>> ---
>>   .gitignore |    4 ++++
>>   1 files changed, 4 insertions(+), 0 deletions(-)
>>
>> diff --git a/.gitignore b/.gitignore
>> index 1cd2d45..018b5d9 100644
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -16,6 +16,7 @@
>>   *.pyc
>>   *.rej
>>   *.s
>> +*.patch
> 
> The ordering is wrong here, you need to order this file alphabetically
> as our build scripts re-order it leaving dirty tree.
> 
>>   *~
>>   .deps
>>   .gdb_history
>> @@ -181,10 +182,13 @@
>>   /update.log
>>   Makefile
>>   Makefile.in
>> +tags
> 
> Tags were added yesterday by Michal
> 
>>   TAGS
>>   coverage
>>   cscope.files
>>   cscope.out
>> +cscope.in.out
>> +cscope.po.out
> 
> Same here, ordering is wrong.
> 
>>   results.log
>>   stamp-h
>>   stamp-h.in
>>
> 
> Peter
> 
> -- 
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list

Just a hint; yesterday my work flow was like this:
- add 'tags' somewhere in .gitignore
- ran 'git clean -fxd; ./autogen --system' which rearrange .gitignore
- commit changes

Michal




More information about the libvir-list mailing list