From: sheikh hamza <sheikhhamza012@gmail.com>
according to the open issue #486 the git bisect
command should be able to run from inside any
subdirectory and in the same disscusion "dscho"
gave the directions and those directions lead me
the fix of adding SUBDIRECTORY_OK=Yes on L#34
before sourcing git-sh-setup that made it work as
in git-sh-setup there was a check on SUBDIRECTORY_OK
that prevents it to run in sub directories if it is not
set to "ok" as this file was also sourced in other commands
that are required to only run from root one of such scripts
is git-filter-branchSigned-off-by: sheikh hamza <sheikhhamza012@gmail.com>
---
bisect: remove root directory restriction for git bisect
according to the open issue #486 the git bisect
command should be able to run from inside any
subdirectory and in the same disscusion "dscho"
gave the directions and those directions lead me
the fix of adding SUBDIRECTORY_OK=Yes on L#34
before sourcing git-sh-setup that made it work as
in git-sh-setup there was a check on SUBDIRECTORY_OK
that prevents it to run in sub directories if it is not
set to "ok" as this file was also sourced in other commands
that are required to only run from root one of such scripts
is git-filter-branchPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-736%2Fsheikhhamza012%2Fbisect_subdirectory_fix-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-736/sheikhhamza012/bisect_subdirectory_fix-v1
Pull-Request: https://github.com/git/git/pull/736
git-bisect.sh | 1 +
t/perf/bisect_regression | 6 ++----
2 files changed, 3 insertions(+), 4 deletions(-)