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

git: problems in read-only trees

From
Petr Baudis <pasky@suse.cz>
Date
Aug 4, 2005, 20:11 UTC
Message-ID
<20050804201125.GB24479@pasky.ji.cz>
In-Reply-To
<20050803074241.A2D1D3535F9@atlas.denx.de>

Dear diary, on Wed, Aug 03, 2005 at 09:42:41AM CEST, I got a letter where Wolfgang Denk <wd@denx.de> told me that...

Show 11 quoted lines
> Hello,
> 
> sometimes I have to  work  in  trees  for  which  I  have  only  read
> permissions; cogito has problems then - for example:
> 
> -> cg-diff 
> fatal: unable to create new cachefile
> fatal: unable to create temp-file
> 
> It would be nice if there was at least a way to specify  some  TMPDIR
> instead of the current directory in such a situation.

This is a bug in git-diff-* (producing the second error message; the first error message means failed git-update-cache --refresh but that isn't fatal). Any reason why prep_temp_blob() works in . instead of $TMPDIR?

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox
Previous: Wolfgang DenkNext: Holger Eitzenberger
Message 2 of 3 in “cogito: problems in read-only trees”
  1. Wolfgang DenkAug 3, 2005
  2. git: problems in read-only treesPetr Baudis, Aug 4, 2005
  3. Holger EitzenbergerAug 4, 2005

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.