Skip to content

StatusCommand is very slow after checkout with jgit #310

Open

Description

@zotttelbart

Version

7.8.0

Operating System

Windows, Linux/Unix

Bug description

Hello,

sorry for my bad english.

I think, there is a regression with commit:

038353e

After checkout with jgit (CheckoutCommand), StatusCommand is very slow.

Actual behavior

With CheckoutCommand many entries in index are smudge because smudeSec is befoe entryMtimeSec:

Image

so smudgeRacilyClean is called in DirCache.writeTo

This leads in StatusCommand to compare the file content.

Expected behavior

With checkout the index should be clean and all files in the Index should have the correct timestamp.

Relevant log output

Other information

In 7.7.1 the problem is not present. The index is written correct.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions