This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
Deduce base
fallback from repo's branches
#11
Labels
base
fallback from repo's branches
#11
Right now,
git-glimpse
determines abase
value for subcommands likestack
using the following steps:--base
was specified (isSome
), then use that.glimpse.base
in Git configuration. If set, then use that.main
.We should add a step between (2) and (3) where we attempt to deduce a mainline branch. Shelling out to
git br -l main origin/main master origin/master
is likely to be useful, since it will only output the branches that exist in the order specified.The text was updated successfully, but these errors were encountered: