File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ $ pip install --user --upgrade --pre libvcs
1515
1616<!-- Maintainers, insert changes / features for the next release here -->
1717
18+ ### Fixes
19+
20+ - ` Git.rev_list ` : Fix argument expansion (#455 )
21+
22+ Resolves issue with _ fatal: '--max-count': not an integer_ .
23+
1824### Testing
1925
2026- CI: Bump actions to Node 20 releases (#456 )
Original file line number Diff line number Diff line change @@ -1918,16 +1918,16 @@ def rev_list(
19181918 '[master ...] Moo'
19191919
19201920 >>> git.rev_list(commit="HEAD", max_count=1)
1921- ''
1921+ '... '
19221922
19231923 >>> git.rev_list(commit="HEAD", path=".", max_count=1, header=True)
1924- ''
1924+ '... '
19251925
19261926 >>> git.rev_list(commit="origin..HEAD", max_count=1, _all=True, header=True)
1927- ''
1927+ '... '
19281928
19291929 >>> git.rev_list(commit="origin..HEAD", max_count=1, header=True)
1930- ''
1930+ '... '
19311931 """
19321932 required_flags : list [str ] = []
19331933 path_flags : list [str ] = []
@@ -1976,7 +1976,7 @@ def rev_list(
19761976 (max_parents , "--max-parents" ),
19771977 ]:
19781978 if int_flag is not None :
1979- local_flags .extend ([int_shell_flag , str (int_shell_flag )])
1979+ local_flags .extend ([int_shell_flag , str (int_flag )])
19801980
19811981 for flag , shell_flag in [
19821982 # Limiting output
You can’t perform that action at this time.
0 commit comments