Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7935381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:54:09+00:00 2026-06-03T21:54:09+00:00

I am using Windows. When staging files I get this error. Updating the Git

  • 0

I am using Windows. When staging files I get this error.

Updating the Git index failed. A rescan will be automatically started to resynchronize git-gui.

followed by a list of files which have been converted from LF to CRLF

After a lot of reading up on the CRLF / LF issue with Git usage cross platform, I more or less understand what is going on, and I am trying to determine which autocrlf setting is best for me, but I cant understand why Git says that Updating the index failed. My understanding is that it has converted the EOF’s so what is the problem with that and why is it telling me that updating the index has failed. Do I need to fix something ( other than picking an appropriate autocrlf setting) or can I just proceed

I then have two options Continue and Unlock Index, what do these mean and what is the best course of action.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:54:10+00:00Added an answer on June 3, 2026 at 9:54 pm
    git config --global core.autocrlf false
    

    Has always been my recommendation (see “Git 1.6.4 beta on Windows (msysgit) – Unix or DOS line termination“).

    However, in your case, you can “Continue”, but this warning is there to mention the conversion of certain files might not be reversible:

    core.safecrlf
    

    If true, makes git check if converting CRLF is reversible when end-of-line conversion is active. Git will verify if a command modifies a file in the work tree either directly or indirectly. For example, committing a file followed by checking out the same file should yield the original file in the work tree. If this is not the case for the current setting of core.autocrlf, git will reject the file.
    The variable can be set to “warn”, in which case git will only warn about an irreversible conversion but continue the operation.

    If you don’t want to see this warning, as explained in this thread, you can set core.safecrlf to false.

    You could also stash your files through the tools menu of git gui, and add some options to those tools with, for instance, this git config file.
    The interest is that, for each tool, you can add:

    guitool.<name>.norescan
    

    Don’t rescan the working directory for changes after the tool finishes execution.


    Could you please elaborate a bit on Unlock Index

    you can see that message in the index.tcl git-gui script: it removes the index.lock file the git-gui creates when manipulating the index.
    You can see more at the “lockfile API” documentation page:

    Mutual exclusion.
    When we write out a new index file, first we create a new file $GIT_DIR/index.lock, write the new contents into it, and rename it to the final destination $GIT_DIR/index.
    We try to create the $GIT_DIR/index.lock file with O_EXCL so that we can notice and fail when somebody else is already trying to update the index file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Check this error and please help me. 2009-07-24 15:58:34.209 LBS[2636] Host 'staging.common.virtualearth.net' not found
I'm using 2005 Windows Forms in C#. I've only been working at this for
I've just started with node.js and socket.io. I installed node.js using the windows installer,
Using Windows So I'm reading from a binary file a list of unsigned int
Using windows server, I have a path to a file that, when you click
Using Windows Mobile 6.5 and C# The CharacterCasing property seems to be missing from
Using Windows form (Vb.net & Datagridview) Checkbox is using in datagridview row. I want
Iam using windows forms. How can I query all child controls of a Form
Am using windows xp sp3 on netbook and i need to compile c# programs
I am using windows emacs with specifications below. GNU Emacs 23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-26

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.