[edk2-devel] [Patch v4 02/22] .gitignore: Ignore python compiled files, extdeps, and vscode
Laszlo Ersek
lersek at redhat.com
Thu Nov 7 10:26:20 UTC 2019
On 11/07/19 02:13, Michael D Kinney wrote:
> From: Sean Brogan <sean.brogan at microsoft.com>
>
> Update .gitignore to ignore .pyc files and __pycache__
> directories. Python based plugins can be added to any
> package or platform, so these files and directories may
> be present outside of BaseTools.
>
> Ignore _extdep directories that are generated by the
> pytool external dependency feature.
>
> Ignore .vscode directories generated by the VS Code
> editor.
>
> Cc: Andrew Fish <afish at apple.com>
> Cc: Laszlo Ersek <lersek at redhat.com>
> Cc: Leif Lindholm <leif.lindholm at linaro.org>
> Signed-off-by: Kinney <michael.d.kinney at intel.com>
> Reviewed-by: Leif Lindholm <leif.lindholm at linaro.org>
> Reviewed-by: Philippe Mathieu-Daude <philmd at redhat.com>
> ---
> .gitignore | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/.gitignore b/.gitignore
> index 97f22c348c..1dd30c1410 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -1,3 +1,7 @@
> Build/
> -tags/
> .DS_Store
> +*_extdep/
> +*.pyc
> +__pycache__/
> +tags/
> +.vscode/
>
This seems to be sorted only if we ignore the various prefixes ("*",
"_", "."). I tend to call such a list "sorted" if it filters through the
"sort" utility (using the POSIX locale) without changes.
But, this is certainly not important enough to justify another repost.
Reviewed-by: Laszlo Ersek <lersek at redhat.com>
Thanks!
Laszlo
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#50193): https://edk2.groups.io/g/devel/message/50193
Mute This Topic: https://groups.io/mt/44874048/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list