From 52541595ed0cc0d8676ab4875b2cb1f448de1247 Mon Sep 17 00:00:00 2001 From: Aur Saraf Date: Tue, 30 Jul 2024 04:57:38 +0300 Subject: [PATCH] run pre-commit --- git/cmd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git/cmd.py b/git/cmd.py index 7bdd646ef..a4cedc134 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -1214,7 +1214,8 @@ def execute( warnings.warn( "Git.show() has strip_newline_in_stdout=True by default, which probably isn't what you want and will " "change in a future version. It is recommended to use Git.show(..., strip_newline_in_stdout=False)", - DeprecationWarning + DeprecationWarning, + stacklevel=1, ) # Allow the user to have the command executed in their working dir.