On 9/7/20 12:42 PM, Thomas Huth wrote:
Now that we always do out-of-tree builds (and the in-tree builds are faked via a "build" directory), we can simplify out .gitignore file
s/out/our/
quite a bit. Signed-off-by: Thomas Huth <th...@redhat.com> --- .gitignore | 158 ----------------------------------------------------- 1 file changed, 158 deletions(-)
I like the idea. As Phillipe pointed out, there are still a few files that may be created by merely running './configure' or common editor droppings or workflow setups that are still worth ignoring, but as most of these truly no longer appear during a fresh checkout, it makes sense to clean it up.
Someone who still wants to use 'fake in-tree' builds and creates symlinks for themselves will no longer have those symlinks ignored by this pruned file, but can edit their own .git/info/exclude file to match their preferences.
diff --git a/.gitignore b/.gitignore index 4ccb9ed975..bb916594eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,165 +1,7 @@ /GNUmakefile /build/
Our 'fake in-tree' build uses just 'build', but ignoring '/build*/' might be wiser to automatically ignore all other variations on the theme of a subdirectory per build.
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org