Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Should not display mode change for added file that is executable #1312

Closed
@kuychaco

Description

@kuychaco

unstaged_changes__exec_ ___src_test-repo

Clicking "Stage Mode Change" causes an error:

Uncaught (in promise) GitError: git -c color.ui=false -c color.status=false -c color.showBranch=false -c color.diff=false -c color.branch=false update-index --cacheinfo 100755,<OID_TBD>,exec in /Users/kuychaco/src/test-repo exited with code 129
stdout: 
stderr: 14:59:26.272274 git.c:344               trace: built-in: git 'update-index' '--cacheinfo' '100755,,exec'
error: option 'cacheinfo' expects <mode>,<sha1>,<path>
    at new GitError (/Users/kuychaco/github/github/lib/git-shell-out-strategy.js:32:18)
    at /Users/kuychaco/github/github/lib/git-shell-out-strategy.js:272:23
    at Generator.next (<anonymous>)
    at step (/Users/kuychaco/github/github/lib/git-shell-out-strategy.js:20:1)
    at /Users/kuychaco/github/github/lib/git-shell-out-strategy.js:20:1
    at <anonymous>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions