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

Re: Possible problem with git-pasky-0.6.2 (patch: **** Only garbage was found in the patch input.)I

From
Petr Baudis <pasky@ucw.cz>
Date
Apr 21, 2005, 07:11 UTC
Message-ID
<20050421071104.GC31910@pasky.ji.cz>
In-Reply-To
<200504201820.27497.elenstev@mesatop.com>

Dear diary, on Thu, Apr 21, 2005 at 02:20:27AM CEST, I got a letter where Steven Cole <elenstev@mesatop.com> told me that...

> Actually, I meant "patch -p1 <stuff_from_above".
So, how did it end up?

Actually, never mind. I forgot that I bring the local changes forward as patches instead. So this is Harmless (tm). It means the patch containing your local changes has just that kind of git diff output containing filename: hash. I will probably just chain grep -v '^[^+-@ ]' in front of patch. (Someone starting his filename with a space _deserves_ the trouble. ;-)

> But before doing that, I did a fsck-cache as follows, with these results.
> This seems damaged.
> 
> [steven@spc git-pasky-0.6.2]$ fsck-cache --unreachable $(cat .git/HEAD)

You can't do just this. In Cogito repository, you may have multiple branches, each with different HEAD of course. So you need to

	fsck-cache --unreachable $(cat .git/heads/*)
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Previous: Steven ColeNext: Steven Cole
Message 5 of 6 in “Possible problem with git-pasky-0.6.2 (patch: **** Only garbage was found in the patch input.)I”
  1. Steven ColeApr 20, 2005
  2. Petr BaudisApr 20, 2005
  3. Steven ColeApr 20, 2005
  4. Steven ColeApr 21, 2005
  5. Petr BaudisApr 21, 2005
  6. Steven ColeApr 21, 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.