@@ -1,54 +1,50 @@
!__*__.py
-.hg
-.*.cmd
-*.orig
-*~
-*.swp
-*.o
+*.a
+*.bak
+*.bin
*.d
*.d2
+*.gcda
+*.gcno
+*.o
+*.old
*.opic
-*.a
+*.orig
+*.pc
+*.py[ocd]
*.so
*.so.[0-9]*
-*.bin
-*.bak
+*.spit
+*.spot
+*.swp
*.tar
*.tar.*z*
*.tmp
-*.spot
-*.spit
-*.gcno
-*.gcda
-*.old
-*.pc
-*.py[ocd]
-TAGS
-GTAGS
-GRTAGS
+*~
+.*.cmd
+.config
+.git
+.hg
+.vimrc
+.vscode
GPATH
+GRTAGS
GSYMS
-tags
+GTAGS
+LibVNCServer*
+TAGS
+autom4te.cache/
+build-*
+config.cache
+config.h
+config.log
+config.status
cscope.files
cscope.in.out
cscope.out
cscope.po.out
-.config
-.vimrc
-.vscode
-
dist
+tags
-autom4te.cache/
-config.log
-config.status
-config.cache
-config.h
-
-build-*
-dist/*
-extras/mini-os*
-install/*
-LibVNCServer*
-
-.git
+/dist/*
+/install/*
This sorts .gitignore and cleans a few entries up. Notably I *think* "dist/*" and "install/*" should be "/dist/*" and "/install/*" as I'm doubting whether anyone will have those directories anywhere, but the top. Yet on top of this there is also an entry for "dist" which I'm unsure of. I'm rather concerned about "build-*" as I see the scripts: "automation/scripts/build-test.sh" and "automation/gitlab-ci/build-each-commit.sh" already in the repository. These aren't effected by the .gitignore as they're already being tracked, but this is a suboptimal situation. I also note the presence of /tools/qemu-xen-build, /tools/pygrub/build/, /tools/python/build/ and /tools/tests/regression/build/ as things which might be useful to address. The entry "LibVNCServer*" seems like perhaps it should start with a slash and/or have a tighter glob? Some of the very old entries which originate at the begining, e46056227fa3a7319e859455fa9f10c918451e43 I'm unsure of. Does anyone still want "TAGS" ignored? ".git" and ".hg" are obvious, though is there value in them remaining when Mercurial seems to be disappearing? What is/was behind c1df7c6ab655bcbf97024e8b79e55ba554cde83f and are those still useful? Presently they're still there, but in a situation like this, removing this is more valuable than leaving them. Signed-off-by: Elliott Mitchell <ehem+xen@m5p.com> --- .gitignore | 70 +++++++++++++++++++++++++----------------------------- 1 file changed, 33 insertions(+), 37 deletions(-)