do not include bare repos in recent repos list

This commit is contained in:
Jesse Duffield 2020-09-27 16:02:20 +10:00
parent 23626755d7
commit e873816160
3 changed files with 15 additions and 1 deletions

View file

@ -24,7 +24,7 @@ func main() {
flaggy.DefaultParser.ShowVersionWithVersionFlag = false
repoPath := ""
flaggy.String(&repoPath, "p", "path", "Path of git repo. (Deprecated: use --git-dir for git directory and --work-tree for work tree directory)")
flaggy.String(&repoPath, "p", "path", "Path of git repo. (equivalent to --work-tree=<path> --git-dir=<path>/.git/)")
filterPath := ""
flaggy.String(&filterPath, "f", "filter", "Path to filter on in `git log -- <path>`. When in filter mode, the commits, reflog, and stash are filtered based on the given path, and some operations are restricted")