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

Re: Problem getting older version

From
NSNico -telmich- Schottelius <nico-linux-git@schottelius.org>
Date
Oct 24, 2005, 05:23 UTC
Message-ID
<20051024052335.GB1830@schottelius.org>
In-Reply-To
<20051020014230.GV30889@pasky.or.cz>
Thanks Petr!

Didn't have the time (and network connection, writing offline currently) to test latest cogito/git for the other errors, but will do that on monday.

Nico
Petr Baudis [Thu, Oct 20, 2005 at 03:42:30AM +0200]:
Show 29 quoted lines
>   Hello,
> 
> Dear diary, on Wed, Oct 19, 2005 at 10:00:46AM CEST, I got a letter
> where Nico -telmich- Schottelius <nico-linux-git@schottelius.org> told me that...
> > The following situation:
> > 
> > - The last commit was a merge, mhich broke some files
> > - We want three files from the commit before
> ..snip..
> > Is this really the standard way to recover a file? As a developer / end user I would expect that:
> > 
> > cg-recover <filename> <commit id> and -f for overwriting the file if it exists
> 
>   thanks for the suggestion. I've revamped cg-restore to support this
> kind of syntax, so now if you do
> 
> 	cg-restore -r ID [-f] FILENAME
> 
> it should do what you want.
> 
> -- 
> 				Petr "Pasky" Baudis
> Stuff: http://pasky.or.cz/
> VI has two modes: the one in which it beeps and the one in which
> it doesn't.
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.
Previous: Petr Baudis
Message 4 of 4 in “Problem getting older version”
  1. Nico -telmich- SchotteliusOct 19, 2005
  2. Junio C HamanoOct 19, 2005
  3. Petr BaudisOct 20, 2005
  4. Nico -telmich- SchotteliusOct 24, 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.