Skip to content

upgraded python version of git bisect (binary search)

Notifications You must be signed in to change notification settings

SynStratos/git_8sect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git 8sect

This is an improved version of the git binary search (bisect) script. It can work on merge nodes (2+ merged branches), trying to visit the least possible amount of nodes. The command line is almost the same of bisect.

Update: now it is possible to define the bad and good commits whether by Id or by Date.

Usage

8sect.py [-h] (-c | -d | -t) [-s SCRIPT] bad_commit good_commit

Example

$ python ~/8sect.py -c 49dd4dd0b76448274e41a3d2a0c761930b6c111e 8c2a21e7638e45c74df8f6da2dd800043a4ca5ee -s 'python /home/Desktop/benchmark.py'
$ python ~/8sect.py -d 'Mon Sep 2 14:32:03 2019 +0200' 'Mon Sep 2 14:07:41 2019 +0200' -s 'python /home/Desktop/benchmark.py'
$ python ~/8sect.py -t 1567422191 1567422140 -s 'python /home/Desktop/benchmark.py'

Releases

No releases published

Packages

No packages published

Languages