Skip to content

git-branchless CLI hangs at 100% CPU #555

@steveluscher

Description

@steveluscher

Description of the bug

When I run git sl the CLI hangs indefinitely.

Expected behavior

The smartlog should appear.

Actual behavior

  • the CLI hangs (no output)
  • the git-branchless process consumes 100% of one CPU core
  • ps aux | grep git looks like this:
    % ps aux | grep git
    sluscher         53485  99.4 20.2 413491888 3381648 s000  R+    2:19PM   1:09.67 /Users/sluscher/.cargo/bin/git-branchless smartlog
    sluscher         53925   0.0  0.0 408104048   1456 s001  S+    2:20PM   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox git
    sluscher         53484   0.0  0.0 407976192   2144 s000  S+    2:19PM   0:00.01 /Applications/Xcode.app/Contents/Developer/usr/bin/git sl
    sluscher         53483   0.0  0.0 408128800   4944 s000  S+    2:19PM   0:00.01 git-branchless wrap -- sl
    

Version of rustc

rustc 1.63.0-nightly (dc80ca78b 2022-06-21)

Automated bug report

git branchless bug-report also hangs.

Version of git-branchless

git-branchless 0.4.0

Version of git

git version 2.37.0 (Apple Git-136)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions