RE: Objects deleted before first commit
God bless you all guys, I really wish you the best :)
Now I need a script to restore it...how can I do ?:) In windows, how does one loop over files and directory and concatenate them?
Best Regards
Edmondo Porcu Financial software architect
Avenue de Rhodanie 48 1007 Lausanne Switzerland.
Dir +41 (0) 21 560 30 82 Fax +41 (0) 21 617 71 55 Email : edmondo.porcu@gottexbrokers.com
The information in this email is confidential and may be legally privileged. If you are not the intended recipient, you must not read, use or disseminate the information. Although this email and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by the Gottex Group of Companies for any loss or damage arising in any way from its use.
-----Original Message-----
From: Edmondo Porcu
Sent: mardi 14 juin 2011 16:46
To: 'PJ Weisberg'; David Barr
Cc: git@vger.kernel.org
Subject: RE: Objects deleted before first commit
Dear all, I have tried to copy my objects folder into my git root folder.
D:\vce\GottwareNet>git cat-file -p 00\1cd91a8a3a3c99ca7aea73c96b3d2174430947 fatal: Not a valid object name 00\1cd91a8a3a3c99ca7aea73c96b3d2174430947
D:\vce\GottwareNet>ls 00\1cd91a8a3a3c99ca7aea73c96b3d2174430947 00\1cd91a8a3a3c99ca7aea73c96b3d2174430947
Please help me we are talking about thousands of line of code!!! :(
Edmondo Porcu Financial software architect
Avenue de Rhodanie 48 1007 Lausanne Switzerland.
Dir +41 (0) 21 560 30 82 Fax +41 (0) 21 617 71 55 Email : edmondo.porcu@gottexbrokers.com
The information in this email is confidential and may be legally privileged. If you are not the intended recipient, you must not read, use or disseminate the information. Although this email and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by the Gottex Group of Companies for any loss or damage arising in any way from its use.
-----Original Message-----
From: PJ Weisberg [mailto:pjweisberg@gmail.com]
Sent: mardi 14 juin 2011 16:44
To: David Barr
Cc: Edmondo Porcu; git@vger.kernel.org
Subject: Re: Objects deleted before first commit
On Tuesday, June 14, 2011, David Barr <davidbarr@google.com> wrote:
Show 8 quoted lines
> On Tue, Jun 14, 2011 at 11:00 PM, Edmondo Porcu
> <Edmondo.Porcu@gottexbrokers.com> wrote:
>> dangling blob 43cb00bb9f23b73afc874c4105b136f8c426e4a5
>> dangling blob 48ef642adb1549ee1d4040ec9337d3a47c19d422
> [...]
>
> Was it 'rm -rf' or 'git rm -rf'?
> If just the non-git command, maybe 'git checkout -- <missing paths>'?
Not if it was never checked in, unfortunately.
'git cat-file -p <hash>' prints the contents of the file. It's up to you to figure out which is the version you want and what the filenames were.
--
-PJ
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________