Skip to content

smartlog crashes on big repos #1577

@tekknolagi

Description

@tekknolagi

Description of the bug

smartlog crashes with stack overflow.

  1. Clone ruby/ruby
  2. git branchless init
  3. git smartlog

Expected behavior

I expected to see my most recent commits.

Actual behavior

plum% git branchless init
Created config file at /Users/emacs/Documents/code/ruby/.git/branchless/config
Auto-detected your main branch as: trunk
If this is incorrect, run: git branchless init --main-branch <branch>
Installing hooks: post-applypatch, post-checkout, post-commit, post-merge, post-rewrite, pre-auto-gc, reference-transaction
Alias smartlog already installed, skipping
Successfully installed git-branchless.
To uninstall, run: git branchless init --uninstall
plum% fg
plum% g sl

thread 'main' has overflowed its stack
fatal runtime error: stack overflow
error: git-branchless died of signal 6
plum%

Version of rustc

No response

Automated bug report

(also crashed with stack overflow while walking history)

Version of git-branchless

git-branchless-opts 0.10.0

Version of git

git version 2.47.1

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