mbox series

[v2,0/2] tools: add two local .gitignore files

Message ID 20231122130220.10247-1-jgross@suse.com (mailing list archive)
Headers show
Series tools: add two local .gitignore files | expand

Message

Jürgen Groß Nov. 22, 2023, 1:02 p.m. UTC
After a new build on my system (OpenSUSE Leap 15.5) "git status" will
print out:

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        tools/pygrub/pygrub.egg-info/
        tools/python/xen.egg-info/

This small patch series fixes that by adding the related entries to
local .gitignore files, while moving the existing global entries for
those directories to them.

Changes in V2:
- use "/dir/" as matching pattern for directories

Juergen Gross (2):
  tools/pygrub: add .gitignore file
  tools/python: add .gitignore file

 .gitignore              | 4 ----
 tools/pygrub/.gitignore | 2 ++
 tools/python/.gitignore | 3 +++
 3 files changed, 5 insertions(+), 4 deletions(-)
 create mode 100644 tools/pygrub/.gitignore
 create mode 100644 tools/python/.gitignore

Comments

Jan Beulich Nov. 23, 2023, 7:05 a.m. UTC | #1
On 22.11.2023 14:02, Juergen Gross wrote:
> After a new build on my system (OpenSUSE Leap 15.5) "git status" will
> print out:
> 
> Untracked files:
>   (use "git add <file>..." to include in what will be committed)
>         tools/pygrub/pygrub.egg-info/
>         tools/python/xen.egg-info/
> 
> This small patch series fixes that by adding the related entries to
> local .gitignore files, while moving the existing global entries for
> those directories to them.
> 
> Changes in V2:
> - use "/dir/" as matching pattern for directories
> 
> Juergen Gross (2):
>   tools/pygrub: add .gitignore file
>   tools/python: add .gitignore file

Reviewed-by: Jan Beulich <jbeulich@suse.com>