Commit 87b314e
committed
Add INDEX and DiffConstants to git.__all__
This adds the names of git.diff.INDEX and git.diff.DiffConstants to
the top-level __all__.
In particular, the recently introduced INDEX constant has the same
standing as NULL_TREE, which was (rightly) already listed, and this
change makes true the claims in some docstrings in the git.diff
module that say that INDEX is accessible (among other ways) as
git.INDEX.1 parent 3c8cbe9 commit 87b314e
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
0 commit comments