the error show like this
\n File \"/home/ubuntu/.local/lib/python3.8/site-packages/git/objects/commit.py\", line 277, in _iter_from_process_or_stream\n finalize_process(proc_or_stream)\n File \"/home/ubuntu/.local/lib/python3.8/site-packages/git/util.py\", line 329, in finalize_process\n proc.wait(**kwargs)\n File \"/home/ubuntu/.local/lib/python3.8/site-packages/git/cmd.py\", line 408, in wait\n raise GitCommandError(self.args, status, errstr)\ngit.exc.GitCommandError: Cmd('git') failed due to: exit code(128)\n cmdline: git rev-list refs/tags/TAG01..HEAD --no-merges --\n stderr: 'fatal: bad revision 'refs/tags/TAG01..HEAD --no-merges'\n
the cmd git rev-list refs/tags/TAG01..HEAD --no-merges --
seems work fine in cmdline run
I think what you are trying to do might work with the help of the docs on 'how to use git directly' along with the API docs on iter_commits().
\nWith that, you should be able to figure out which options to pass to git rev-list
as kwargs
of iter_commits(…)
to get the desired result.
Even though I close this issue, feel free to post follow ups in the comments.
","upvoteCount":1,"url":"https://github.com/gitpython-developers/GitPython/discussions/1175#discussioncomment-408848"}}}-
Is it possiable to passing args like
the error show like this
the cmd |
Beta Was this translation helpful? Give feedback.
-
I think what you are trying to do might work with the help of the docs on 'how to use git directly' along with the API docs on iter_commits(). With that, you should be able to figure out which options to pass to Even though I close this issue, feel free to post follow ups in the comments. |
Beta Was this translation helpful? Give feedback.
I think what you are trying to do might work with the help of the docs on 'how to use git directly' along with the API docs on iter_commits().
With that, you should be able to figure out which options to pass to
git rev-list
askwargs
ofiter_commits(…)
to get the desired result.Even though I close this issue, feel free to post follow ups in the comments.