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

Juergen Gross posted 2 patches 5 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20231122130220.10247-1-jgross@suse.com
.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
[PATCH v2 0/2] tools: add two local .gitignore files
Posted by Juergen Gross 5 months, 1 week ago
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

-- 
2.35.3
Re: [PATCH v2 0/2] tools: add two local .gitignore files
Posted by Jan Beulich 5 months, 1 week ago
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>