git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/2] run_diff_{files,index}(): update calling convention.

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Feb 10, 2007, 08:02 UTC
Message-ID
<e5bfff550702100002y3929c50mfb99b8da44c9c82b@mail.gmail.com>
In-Reply-To
<7vy7n6ohc3.fsf_-_@assigned-by-dhcp.cox.net>
On 2/10/07, Junio C Hamano <junkio@cox.net> wrote:
Show 5 quoted lines
> They used to open and read index themselves, but they now expect
> their callers to do so.
>
> Signed-off-by: Junio C Hamano <junkio@cox.net>
> ---
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 <file>..." 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 <file>..." 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

Previous: Junio C HamanoNext: Junio C Hamano
Message 13 of 52 in “'git status' is not read-only fs friendly”
  1. Marco CostalbaFeb 9, 2007
  2. Linus TorvaldsFeb 9, 2007
  3. Marco CostalbaFeb 9, 2007
  4. Junio C HamanoFeb 9, 2007
  5. Junio C HamanoFeb 9, 2007
  6. Morten WelinderFeb 9, 2007
  7. Theodore TsoFeb 9, 2007
  8. Marco CostalbaFeb 9, 2007
  9. Linus TorvaldsFeb 9, 2007
  10. Junio C HamanoFeb 10, 2007
  11. Junio C HamanoFeb 10, 2007
  12. 1/2 run_diff_{files,index}(): update calling convention.Junio C Hamano, Feb 10, 2007
  13. Marco CostalbaFeb 10, 2007
  14. Junio C HamanoFeb 10, 2007
  15. Marco CostalbaFeb 10, 2007
  16. Marco CostalbaFeb 10, 2007
  17. Junio C HamanoFeb 10, 2007
  18. Marco CostalbaFeb 10, 2007
  19. Junio C HamanoFeb 10, 2007
  20. Marco CostalbaFeb 10, 2007
  21. 2/2 git-runstatus --refreshJunio C Hamano, Feb 10, 2007
  22. Johannes SchindelinFeb 10, 2007
  23. Marco CostalbaFeb 10, 2007
  24. Johannes SchindelinFeb 10, 2007
  25. Marco CostalbaFeb 10, 2007
  26. Marco CostalbaFeb 10, 2007
  27. Junio C HamanoFeb 10, 2007
  28. Johannes SchindelinFeb 10, 2007
  29. Junio C HamanoFeb 11, 2007
  30. Johannes SchindelinFeb 11, 2007
  31. Johannes SchindelinFeb 11, 2007
  32. Junio C HamanoFeb 11, 2007
  33. Johannes SchindelinFeb 11, 2007
  34. Johannes SchindelinFeb 10, 2007
  35. Marco CostalbaFeb 10, 2007
  36. Nicolas PitreFeb 10, 2007
  37. Junio C HamanoFeb 10, 2007
  38. Nicolas PitreFeb 10, 2007
  39. Junio C HamanoFeb 10, 2007
  40. Nicolas PitreFeb 10, 2007
  41. Junio C HamanoFeb 10, 2007
  42. Theodore TsoFeb 10, 2007
  43. Nicolas PitreFeb 10, 2007
  44. Theodore TsoFeb 10, 2007
  45. Marco CostalbaFeb 10, 2007
  46. Linus TorvaldsFeb 10, 2007
  47. Nicolas PitreFeb 10, 2007
  48. Junio C HamanoFeb 11, 2007
  49. Shawn O. PearceFeb 11, 2007
  50. Johannes SchindelinFeb 10, 2007
  51. Junio C HamanoFeb 10, 2007
  52. Marco CostalbaFeb 10, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.