microsoft / microsoft/VFSForGit

Make 'git gui' not block other git commands

Open
#1,387 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

platform: macOS
Dominant language
C#
Stars
6.1k
Forks
474
Avg merge
2d 4h
Merged PRs (30d)
8

Description

There are a few possible solutions here:

  1. Windows creates 'git-gui.exe' which uses 'git update-index', instead of 'git gui' which uses 'git-update-index.exe'. 'git-gui.exe' or equivalent doesn't appear to be build for Mac.
  2. Make 'git-update-index.exe' use command hooks
  3. Make 'git gui' use 'git update-index' instead of 'git-update-index.exe'

However we should follow what we've done on Windows and instruct users to run "git-gui.exe".

It looks like git-gui is installed in /usr/local/git/libexec/git-core/git-gui on Mac. We'd need to make it path accessible on Mac for parity. @dscho.

Note this work has not been prioritized.

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 by comparing the Windows git-gui.exe behavior with the Mac entry point at /usr/local/git/libexec/git-core/git-gui, including how each invokes git-update-index. Review the three proposed approaches and confirm the intended path-accessible entry point for Mac. Done means git gui no longer blocks other Git commands and behavior is consistent with Windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.