We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2382891 commit e7dec7dCopy full SHA for e7dec7d
git/diff.py
@@ -7,6 +7,7 @@
7
8
importenum
9
importre
10
+importwarnings
11
12
fromgit.cmdimporthandle_process_output
13
fromgit.compatimportdefenc
@@ -554,6 +555,11 @@ def renamed(self) -> bool:
554
555
This property is deprecated.
556
Please use the :attr:`renamed_file` property instead.
557
"""
558
+warnings.warn(
559
+"Diff.renamed is deprecated, use Diff.renamed_file instead",
560
+DeprecationWarning,
561
+stacklevel=2,
562
+ )
563
returnself.renamed_file
564
565
@property
0 commit comments