grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gitignore: Add a few forgotten files


From: John Paul Adrian Glaubitz
Subject: Re: [PATCH] gitignore: Add a few forgotten files
Date: Wed, 22 Apr 2020 22:43:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 4/22/20 10:31 PM, Hans Ulrich Niedermann wrote:
>> What's with the preceding slash in the filenames? Is it really
>> "/30_uefi-firmware"?
> 
> Yes.
> 
> If a ".gitignore" file contains
> 
>     /ChangeLog
> 
> then git will only ignore a file named "ChangeLog" located in the same
> directory where the .gitignore file is, i.e. a file like
> "subdir/ChangeLog" will not match.
> 
> If a ".gitignore" file contains
> 
>     Makefile
> 
> then git will ignore all files named Makefile located in the same
> directory where the .gitignore file is _and_in_all_of_its_subdirs_.

Ah, I wasn't aware of that syntax. Thanks for the explanation.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - address@hidden
`. `'   Freie Universitaet Berlin - address@hidden
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



reply via email to

[Prev in Thread] Current Thread [Next in Thread]