From: Marco Costalba Date: Sat, 10 Feb 2007 08:02:15 GMT Subject: Re: [PATCH 1/2] run_diff_{files,index}(): update calling convention. Message-ID: In-Reply-To: <7vy7n6ohc3.fsf_-_@assigned-by-dhcp.cox.net> On 2/10/07, Junio C Hamano wrote: > They used to open and read index themselves, but they now expect > their callers to do so. > > Signed-off-by: Junio C Hamano > --- Thanks this works for me, while the other workaround seems to have issues: bash-3.1$ git status fatal: unable to create '.git/index.lock': Read-only file system bash-3.1$ git update-index --refresh fatal: unable to create '.git/index.lock': Read-only file system bash-3.1$ git runstatus # On branch master # Changed but not updated: # (use "git add ..." to update what will be committed) # # modified: .gitignore # modified: README # modified: exception_manager.txt ------ cut ------- # src/object_script.qgit.Release # src/object_script.qgit_bin.Debug # src/object_script.qgit_bin.Release # start_qgit.bat no changes added to commit (use "git add" and/or "git commit -a") bash-3.1$ git-runstatus --refresh # On branch master # Untracked files: # (use "git add ..." to include in what will be committed) # # AAA_convert.xls.lnk # Cygwin.lnk # Qt 4.2.2 Command Prompt.lnk # bld.bat # cmd.txt # explore2fs.exe.lnk # qgit.lnk # src/object_script.qgit.Debug # src/object_script.qgit.Release # src/object_script.qgit_bin.Debug # src/object_script.qgit_bin.Release # start_qgit.bat nothing added to commit but untracked files present (use "git add" to track) bash-3.1$ Running 'git runstatus' alone shows _all_ the repo files, although are not modified and not touched. With 'git runstatus' --refresh' everything seems ok. Please could you apply your patch before 1.5 so that I can update qgit and change prerequisite git version to 1.5. Thanks Marco