summaryrefslogtreecommitdiff
path: root/Documentation/howto/recover-corrupted-blob-object.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-04-22 11:26:58 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-22 11:26:58 -0700
commit76f9bc9f53a7bc72950d8ee88e88bf41903fab74 (patch)
tree739bf070864f02f2f6ae94562cfa6f459b863ed3 /Documentation/howto/recover-corrupted-blob-object.txt
parentMerge branch 'jk/doc-http-backend' into maint (diff)
parentglossary: improve definitions of refspec and pathspec (diff)
downloadtgif-76f9bc9f53a7bc72950d8ee88e88bf41903fab74.tar.xz
Merge branch 'ta/glossary' into maint
* ta/glossary: glossary: improve definitions of refspec and pathspec The name of the hash function is "SHA-1", not "SHA1" glossary: improve description of SHA-1 related topics glossary: remove outdated/misleading/irrelevant entries
Diffstat (limited to 'Documentation/howto/recover-corrupted-blob-object.txt')
-rw-r--r--Documentation/howto/recover-corrupted-blob-object.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/howto/recover-corrupted-blob-object.txt b/Documentation/howto/recover-corrupted-blob-object.txt
index 6d362ceb10..1b3b188d3c 100644
--- a/Documentation/howto/recover-corrupted-blob-object.txt
+++ b/Documentation/howto/recover-corrupted-blob-object.txt
@@ -15,7 +15,7 @@ On Fri, 9 Nov 2007, Yossi Leybovich wrote:
> Any one know how can I track this object and understand which file is it
-----------------------------------------------------------
-So exactly *because* the SHA1 hash is cryptographically secure, the hash
+So exactly *because* the SHA-1 hash is cryptographically secure, the hash
itself doesn't actually tell you anything, in order to fix a corrupt
object you basically have to find the "original source" for it.
@@ -44,7 +44,7 @@ So:
-----------------------------------------------------------
This is the right thing to do, although it's usually best to save it under
-it's full SHA1 name (you just dropped the "4b" from the result ;).
+it's full SHA-1 name (you just dropped the "4b" from the result ;).
Let's see what that tells us:
@@ -89,7 +89,7 @@ working tree, in which case fixing this problem is really simple, just do
git hash-object -w my-magic-file
-again, and if it outputs the missing SHA1 (4b945..) you're now all done!
+again, and if it outputs the missing SHA-1 (4b945..) you're now all done!
But that's the really lucky case, so let's assume that it was some older
version that was broken. How do you tell which version it was?