Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shell command git shortlog -sn waits indefinately #362

Open
papapumpnz opened this issue Dec 22, 2024 · 3 comments
Open

shell command git shortlog -sn waits indefinately #362

papapumpnz opened this issue Dec 22, 2024 · 3 comments

Comments

@papapumpnz
Copy link

Ask the gptme to "who commits in this repo?" when in a git repo directory, and it asks to run command:

git shortlog -sn  

It then waits indefinately and never returns a result. It should return something like:

   368  UserA
   278  UserB
   109  UserC
@ErikBjare
Copy link
Owner

Strange that this seems to only happen for git shortlog and not other git commands.

At first I thought it was a PAGER issue, but seems not?

@papapumpnz
Copy link
Author

Yes strange, other git commands work fine:

User: who was the last to commit on this repo?
Assistant: To find out who made the last commit in this repository, we can use the `git log` command. Let's execute it to get the information.                  User: ok
Assistant: Let's run the following command to find out the author of the last commit:

```shell
git log -1 --pretty=format:"%an"

Preview
git log -1 --pretty=format:"%an"

Run command? [Y/n/c/e/?] y
Jeremy PottonSystem:
Ran command: git log -1 --pretty=format:"%an"

UserA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@ErikBjare @papapumpnz and others