Search found 8 matches
- 28 Oct 2021, 19:33
- Forum: File recovery
- Topic: Recovering deleted git repository
- Replies: 13
- Views: 18127
Re: Recovering deleted git repository
PhotoRec by-itself will not sort the recovered files. If PhotoRec recovers files from 2 or more git repositories, additional scripts will be needed to sort the mess.
Object files from two repositories can be placed in a single repository, git works just fine with commits and branches from ...
- 28 Oct 2021, 01:10
- Forum: File recovery
- Topic: Recovering deleted git repository
- Replies: 13
- Views: 18127
Re: Recovering deleted git repository
Feel free to work on adding git support to PhotoRec: copy src/file_gz.c to src/file_git.c, edit the copy, edit also src/Makefile.am and src/file_list.c...
But what would be the result? A bunch of recovered object and pack files with a new extension like ".gitobject", which need to be later ...
- 18 Oct 2021, 17:18
- Forum: File recovery
- Topic: Recovering deleted git repository
- Replies: 13
- Views: 18127
Re: Recovering deleted git repository
And how should I know if you don't tell that right from the start? When reading your posting it sounds like the other dozens of users who want Photorec to be modified for their personal needs.
I wrote this in the first line of my comment
I've able to recover the deleted repository and I want ...
- 18 Oct 2021, 13:44
- Forum: File recovery
- Topic: Recovering deleted git repository
- Replies: 13
- Views: 18127
Re: Recovering deleted git repository
To restore folder information try out any other commercial software.
I am not asking for support. I have already solved the issue for myself. Now I am trying to figure out the best way how to integrate this automation to the photorec and I will make and submit a patch. I can write a code that ...
- 17 Oct 2021, 14:30
- Forum: File recovery
- Topic: Recovering deleted git repository
- Replies: 13
- Views: 18127
Re: Recovering deleted git repository
Small files are also bigger than the stream and also have garbage in the end of a cluster. Zlib has the EOF mark in a stream and also a git object has its length written in the beginning of the decompressed stream so it is not a problem. Also a git object filename (or better say the place inside ...
- 15 Oct 2021, 05:19
- Forum: File recovery
- Topic: Recovering deleted git repository
- Replies: 13
- Views: 18127
Re: Recovering deleted git repository
Hi there!
To my great surprise I've able to recover the deleted repository and I want to share my story and may be contribute to the photorec codebase. Here is what I've done:
I've made a photorec.sig file with these lines:
zlib 0 0x7801
zlib 0 0x785E
zlib 0 0x789C
zlib 0 0x78DA
Then I've run ...
To my great surprise I've able to recover the deleted repository and I want to share my story and may be contribute to the photorec codebase. Here is what I've done:
I've made a photorec.sig file with these lines:
zlib 0 0x7801
zlib 0 0x785E
zlib 0 0x789C
zlib 0 0x78DA
Then I've run ...
- 14 Oct 2021, 12:37
- Forum: File recovery
- Topic: Recovering deleted git repository
- Replies: 13
- Views: 18127
Re: Recovering deleted git repository
Thanks for the quick reply!
- 14 Oct 2021, 12:00
- Forum: File recovery
- Topic: Recovering deleted git repository
- Replies: 13
- Views: 18127
Recovering deleted git repository
It is rather easy to restore objects hashes and fsck recovered repository to find latest commit etc.
Git stores objects compressed with zlib, the file starts with magic 0x78 0x01. I don't see these files among those recovered by photorec. What would you recommend?
Git stores objects compressed with zlib, the file starts with magic 0x78 0x01. I don't see these files among those recovered by photorec. What would you recommend?