microsoft / microsoft/VFSForGit

POSIX: Remove or no-op calls to CreateGitScript on POSIX

Open
#1,364 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

https://github.com/microsoft/VFSForGit/blob/8fbc67c8e92a82e7cae991ce12b835805ca44db6/GVFS/GVFS/CommandLine/CloneVerb.cs#L668

Creates a script that will automatically change a user's directory to src when git commands are run one level higher.

We should either update this method to create a script that does work on Mac/Linux, or stop writing out the script completely on Mac/Linux.

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 GVFS/GVFS/CommandLine/CloneVerb.cs around line 668 and inspect the CreateGitScript call and its POSIX behavior. Determine whether Mac/Linux should receive a working script or no script, then verify that cloning on POSIX no longer writes a nonfunctional script.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, operating-systems
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.