Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Wrong mode mask when adding files to the index #430

Closed
Assignees
Byron
@GaretJax

Description

@GaretJax

0fdf6c3 changed the mode mask from0o111 to0o100. We're encountering issues when committing files marked as executable:

After committing such a file with GitPython, our repo shows the following behavior:

# git statusOn branch developnothing to commit, working directory clean

git status shows everything as clean (as it should be).

But if wegit stash the changes:

# git stasherror: feeding unmodified <file> to diffcoreerror: feeding unmodified <file> to diffcoreSaved working directory and index state WIP on develop: 6cdd426 ... (10136)HEAD is now at 6cdd426 ... (10136)

And the stash turns up empty:

# git stash show

This is an issue for us because we end up in a dirty repo and can't execute some git commands anymore without resetting/stashing some inexistent changes.

I don't know what the rational behind the0o100 mask is, but0o111 works for our use case.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp