Skip to content

About

Plan a read-only Git bisect session by validating good and bad commits and estimating binary-search steps.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Bisect Helper banner Typing title

Plan a read-only Git bisect session by validating good and bad commits and estimating binary-search steps.

License Language Stars Last commit

Git Bisect Helper project illustration

✨ Overview

Plan a read-only Git bisect session by validating good and bad commits and estimating binary-search steps. Git Bisect Helper is a small Python command-line tool built with the standard library. It is designed for local use and keeps its behavior explicit.

🚀 Features

  • ✨ 🔎 Verify that both refs resolve to commits.
  • ✨ 🌳 Check that the good commit is an ancestor of the bad commit.
  • ✨ 🧮 Estimate the number of binary-search checks.
  • ✨ 🛡️ Never starts or resets a bisect session automatically.

🖥️ Demo

python main.py --repo . --good <good-ref> --bad <bad-ref>

Run the command inside a Git repository, replacing the refs with a known-good and known-bad commit. The tool only reads Git metadata and prints commands for you to review.

⚡ Quick Start

python main.py --repo . --good <good-ref> --bad <bad-ref>

Python 3.10 or newer is required. No third-party packages are needed.

🧰 Tech Stack

  • Language: Python 3.10+
  • Libraries: Python standard library
  • Dependencies: None

📁 Folder Structure

git-bisect-helper/
├── assets/overview.svg
├── tests/test_main.py
├── main.py
├── pyproject.toml
├── .gitignore
├── LICENSE
└── README.md

🗺️ Roadmap

  • Add optional path filters for monorepos.
  • Add a plain-text report export.

🤝 Contributing

Issues and pull requests are welcome. Include a minimal input example, expected behavior, and a regression test when changing parsing or quoting rules.

📄 License

Released under the MIT License.

Animated wave footer

About

Plan a read-only Git bisect session by validating good and bad commits and estimating binary-search steps.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages