microsoft / microsoft/VFSForGit

filter-branch is broken in 1.0.19072

Open
#993 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

affects: correctness type: bug
Dominant language
C#
Stars
6.1k
Forks
474
Avg merge
2d 4h
Merged PRs (30d)
8

Description

> git filter-branch --subdirectory-filter <directory> -- --all
Rewrite <commit_id> (1/525) (0 seconds passed, remaining 0 predicted)    C:/Program Files/Git/mingw64/libexec/git-core\git-filter-branch: line 463: ../map/<commit_id>: No such file or directory

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

Reproduce the issue with git filter-branch --subdirectory-filter <directory> -- --all on the reported 1.0.19072 setup and inspect the git-filter-branch failure at line 463. Trace why ../map/<commit_id> is missing; done means the command completes without the reported “No such file or directory” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.