tj / tj/git-extras

git-bulk does not seem to respect local git configuration

Open
#758 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
18.1k
Forks
1.2k
Avg merge
5d 17h
Merged PRs (30d)
1

Description

Hello, all

1st - great tool, use it each day since like forever :)
2nd thing - the actual unfortunate issue.

I have the git config as in here. That particular line leads you the inclusion of local git configuration that is workstation specific. The point in here is that I would like to to store git-bulk configuration in such file though git-bulk does not seem to be able to pick it up.

Actual behavior

If I do git-bulk --listall and the section bulkworkspaces is defined not in ~/.gitconfig the output returns empty list of workspaces

Expected behavior

If I do git-bulk --listall and the section bulkworkspaces is defined in any git configuration included in~/.gitconfig the output returns all workspaces

Cheers ;-)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the git-bulk entry point and trace how it reads the bulkworkspaces section when --listall is used. Reproduce the case with a Git configuration include, then verify that workspaces defined in included configuration are listed.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.