Crash on too many changed files
- Dominant language
- Shell
- Stars
- 13.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Git-secrets failed a merge from upstream master, because it found some secrets in the upstream commits. Then it didn't allow me continuing the merge because 22680 modified files seems to be too many:
```
$ git merge --continue
/usr/local/bin/git-secrets: line 109: /usr/local/Cellar/git/2.17.0/libexec/git-core/git: Argument list too long
```
This fixed it for me:
```
$ git commit --no-verify
```
Contributor guide
Research direction
Start at the git-secrets script around line 109 and reproduce the failure with a merge containing many changed files. Trace how git merge --continue is invoked and verify that the command no longer fails with “Argument list too long” while secret scanning and merge continuation still work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100