git-verify-pack.txt: fix inconsistent spelling of "packfile"
PATCH 1/3 git-verify-pack.txt: fix inconsistent spelling of "packfile"
--- Documentation/git-verify-pack.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-verify-pack.txt +1 -1
@@ -40,7 +40,7 @@ OUTPUT FORMAT ------------- When specifying the -v option the format used is: - SHA-1 type size size-in-pack-file offset-in-packfile + SHA-1 type size size-in-packfile offset-in-packfile for objects that are not deltified in the pack, and
Signature · 1 line
2.4.0
PATCH 2/3 git-unpack-objects.txt: fix inconsistent spelling of "packfile"
--- Documentation/git-unpack-objects.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/git-unpack-objects.txt +2 -2
@@ -19,8 +19,8 @@ the objects contained within and writing them into the repository in "loose" (one object per file) format. Objects that already exist in the repository will *not* be unpacked -from the pack-file. Therefore, nothing will be unpacked if you use -this command on a pack-file that exists within the target repository. +from the packfile. Therefore, nothing will be unpacked if you use +this command on a packfile that exists within the target repository. See linkgit:git-repack[1] for options to generate new packs and replace existing ones.
Signature · 1 line
2.4.0
PATCH 3/3 pack-protocol.txt: fix insconsistent spelling of "packfile"
In reply to Patrick Steinhardt--- Documentation/technical/pack-protocol.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/technical/pack-protocol.txt +3 -3
@@ -502,11 +502,11 @@ MUST NOT send a push-cert command. When a push-cert command is sent, command-list MUST NOT be sent; the commands recorded in the push certificate is used instead. -The pack-file MUST NOT be sent if the only command used is 'delete'. +The packfile MUST NOT be sent if the only command used is 'delete'. -A pack-file MUST be sent if either create or update command is used, +A packfile MUST be sent if either create or update command is used, even if the server already has all the necessary objects. In this -case the client MUST send an empty pack-file. The only time this +case the client MUST send an empty packfile. The only time this is likely to happen is if the client is creating a new branch or a tag that points to an existing obj-id.
Signature · 1 line
2.4.0
There still are a handful of "pack-file" remaining in the documentation set, even after applying these three that changes 6 instances of 'pack-file' to 'packfile'.
git-index-pack.txt:'git index-pack' [-v] [-o <index-file>] <pack-file>
git-index-pack.txt: [<pack-file>]
git-index-pack.txt: instead and a copy is then written to <pack-file>. If
git-index-pack.txt: <pack-file> is not specified, the pack is written to
git-index-pack.txt: <pack-file> is not specified consider using --keep to
git-unpack-objects.txt:'git unpack-objects' [-n] [-q] [-r] [--strict] < <pack-file>
technical/pack-heuristics.txt: <linus> Anyway, the pack-file could easily be denser still, but technical/pack-heuristics.txt: <linus> In particular, while the pack-file is then compressed, technical/pack-heuristics.txt: <linus> Anyway: I'm not even trying to claim that the pack-files technical/pack-protocol.txt: update-request = *shallow ( command-list | push-cert ) [pack-file] technical/pack-protocol.txt: pack-file = "PACK" 28*(OCTET)
user-manual.txt:[[pack-files]]
A quick "git grep packfile" vs "git grep pack-file" inside Documentation/ directory indicates that we seem to use 'packfile' primarily in the lower-level technical documents that are not end-user facing. Almost half of them are in the release notes that we won't bother "fixing", so it might make sense to go the other way around, consistently using "pack-file" that may be more familiar to end-users.
What do others think?
Quoted 9 lines · Junio C Hamano
A quick "git grep packfile" vs "git grep pack-file" inside
Documentation/directory indicates that we seem to use 'packfile' primarily in the lower-level technical documents that are not end-user facing. Almost half of them are in the release notes that we won't bother "fixing", so it might make sense to go the other way around, consistently using "pack-file" that may be more familiar to end-users.What do others think?
If I saw "pack-file" (outside of this discussion) I would think it was wrong. That's just my opinion, of course.
Searching for "packfile" on the list yields 2145 messages. Searching for "pack-file" yields 764. Searching for "pack file" yields 2007 (maybe more, as my grep did not take into account line breaks).
-Peff
Quoted 10 lines · Jeff King
Quoted 8 lines · Junio C Hamano
A quick "git grep packfile" vs "git grep pack-file" inside
Documentation/directory indicates that we seem to use 'packfile' primarily in the lower-level technical documents that are not end-user facing. Almost half of them are in the release notes that we won't bother "fixing", so it might make sense to go the other way around, consistently using "pack-file" that may be more familiar to end-users.
Quoted 4 lines
Quoted 1 line
What do others think?
If I saw "pack-file" (outside of this discussion) I would think it was wrong. That's just my opinion, of course.
OK, then let's go with these three patches.
Thanks for sanity checking.
Quoted 12 lines · Junio C Hamano
Quoted 10 lines · Jeff King
Quoted 8 lines · Junio C Hamano
A quick "git grep packfile" vs "git grep pack-file" inside
Documentation/directory indicates that we seem to use 'packfile' primarily in the lower-level technical documents that are not end-user facing. Almost half of them are in the release notes that we won't bother "fixing", so it might make sense to go the other way around, consistently using "pack-file" that may be more familiar to end-users.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
What do others think?
If I saw "pack-file" (outside of this discussion) I would think it was wrong. That's just my opinion, of course.
OK, then let's go with these three patches.
Thanks for sanity checking.
By the way, the way we spell these two entities in the glossary is
"pack" - that which holds collection of objects tightly packed "pack index" - that which allows a random access into a "pack"
We may want to do two things:
(1) add "packfile" as a synonym to the former; I think the origin of "pack file" is that it would clarify which one we refer to it as an on-disk entity when contrasting a "pack" and its associated "pack index", and I even suspect that originally we spelled it as two words, later contracted with dash (as seen in the pack-heuristics irc lecture given by Linus).
(2) describe "pack bitmap", which came long after the original glossary entries are made.
And if we are going that route, we should fix the SYNOPSIS sections and usage[] strings of "index-pack" and "unpack-objects" where we say these commands read from "<pack-file>" (we now read from "<packfile>").
I am undecided if we want to touch Documentation/technical/. The irc lecture in pack-heuristics.txt is a historical recording and it may be OK to keep it as it is. pack-protocol.txt consistently uses "packfile" in prose and uses "pack-file" in EBNF. From a quick re-reading of the document, I think it is OK to use "packfile" throughout there.
One related thing is that there are few mentions of "idx file" to refer to "pack index" (e.g. show-index and verify-pack documentation pages); I think this was an attempt to disambiguate "pack index" from "the Index", but as long as we spell it "pack index", I think it should be OK, so while we are at it we may want to fix them. We can leave "pack .idx file" as-is, but rewriting it to "pack index file" or just "pack index" may be OK as long as it is clear from the context.
"git show-index" has this in SYNOPSIS:
'git show-index' < idx-file
It probably should become
'git show-index' < <pack-index>
Quoted 9 lines · Junio C Hamano
One related thing is that there are few mentions of "idx file" to refer to "pack index" (e.g. show-index and verify-pack documentation pages); I think this was an attempt to disambiguate "pack index" from "the Index", but as long as we spell it "pack index", I think it should be OK, so while we are at it we may want to fix them. We can leave "pack .idx file" as-is, but rewriting it to "pack index file" or just "pack index" may be OK as long as it is clear from the context.
Quoted 7 lines
"git show-index" has this in SYNOPSIS:
'git show-index' < idx-file
It probably should become
'git show-index' < <pack-index>
That makes "pack-file" make more sense to me. It is not "the abstract concept of a packfile", but "the file with the .pack extension" (just as "idx-file" is "the file with the .idx extension"). They are the same thing if you think about it, of course, but you might choose one over the other depending on the context.
-Peff
Quoted 17 lines · Jeff King
Quoted 15 lines · Junio C Hamano
One related thing is that there are few mentions of "idx file" to refer to "pack index" (e.g. show-index and verify-pack documentation pages); I think this was an attempt to disambiguate "pack index" from "the Index", but as long as we spell it "pack index", I think it should be OK, so while we are at it we may want to fix them. We can leave "pack .idx file" as-is, but rewriting it to "pack index file" or just "pack index" may be OK as long as it is clear from the context.
"git show-index" has this in SYNOPSIS:
'git show-index' < idx-file
It probably should become
Quoted 7 lines
Quoted 1 line
'git show-index' < <pack-index>
That makes "pack-file" make more sense to me. It is not "the abstract concept of a packfile", but "the file with the .pack extension" (just as "idx-file" is "the file with the .idx extension"). They are the same thing if you think about it, of course, but you might choose one over the other depending on the context.
Hmm, that is also true.
In any case, even though I merged these three to 'next', I think we need to either revert 3/3 or do s/pack-file/packfile/ throughout the pack-protocol documentation. The original has something like this:
The pack-file MUST NOT be sent if the only command used is 'delete'.
A pack-file MUST be sent if either create or update command is used, even if the server already has all the necessary objects. In this
case the client MUST send an empty pack-file. The only time this
is likely to happen is if the client is creating
a new branch or a tag that points to an existing obj-id.
and these are explicitly referring to what EBNF defines as "pack-file". Changing them to "packfile" is simply wrong.
Quoted 6 lines · Junio C Hamano
In any case, even though I merged these three to 'next', I think we need to either revert 3/3 or do s/pack-file/packfile/ throughout the pack-protocol documentation. The original has something like this:
The pack-file MUST NOT be sent if the only command used is 'delete'.
Quoted 8 lines
A pack-file MUST be sent if either create or update command is used, even if the server already has all the necessary objects. In this
case the client MUST send an empty pack-file. The only time this
is likely to happen is if the client is creating
a new branch or a tag that points to an existing obj-id.and these are explicitly referring to what EBNF defines as "pack-file". Changing them to "packfile" is simply wrong.
Yeah, I agree they should agree with the EBNF. And my inclination is for "packfile", as it is refering to the concept of the on-the-wire packfile data (there is no "file ending in .pack" in this context).
Which I guess argues for a further patch.
-Peff
Quoted 5 lines · Jeff King
Yeah, I agree they should agree with the EBNF. And my inclination is for "packfile", as it is refering to the concept of the on-the-wire packfile data (there is no "file ending in .pack" in this context).
Which I guess argues for a further patch.
I'm fine with that, then.
If I had a time machine, I would have used "pack data" (or "pack stream") vs "pack file" (or ".pack file") to differentiatee (as the pack-protocol is not about transferring any "file", but just carries "pack data"), but that is a rename with more cost than warranted for a minuscule gain at this point.
PATCH 1/1 doc: fix inconsistent spelling of "packfile"
Fix remaining instances where "pack-file" is used instead of "packfile".
---
This patch now also fixes instances where we refer to EBNF-style command line parameters, as discussed by Junio and Peff.
Documentation/git-index-pack.txt | 10 +++++----- Documentation/git-unpack-objects.txt | 2 +- Documentation/technical/pack-protocol.txt | 4 ++-- Documentation/user-manual.txt | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-)
Documentation/git-index-pack.txt +5 -5
@@ -9,9 +9,9 @@ git-index-pack - Build pack index file for an existing packed archive SYNOPSIS -------- [verse] -'git index-pack' [-v] [-o <index-file>] <pack-file> +'git index-pack' [-v] [-o <index-file>] <packfile> 'git index-pack' --stdin [--fix-thin] [--keep] [-v] [-o <index-file>] - [<pack-file>] + [<packfile>] DESCRIPTION
@@ -37,11 +37,11 @@ OPTIONS --stdin:: When this flag is provided, the pack is read from stdin - instead and a copy is then written to <pack-file>. If - <pack-file> is not specified, the pack is written to + instead and a copy is then written to <packfile>. If + <packfile> is not specified, the pack is written to objects/pack/ directory of the current Git repository with a default name determined from the pack content. If - <pack-file> is not specified consider using --keep to + <packfile> is not specified consider using --keep to prevent a race condition between this process and 'git repack'.
Documentation/git-unpack-objects.txt +1 -1
@@ -9,7 +9,7 @@ git-unpack-objects - Unpack objects from a packed archive SYNOPSIS -------- [verse] -'git unpack-objects' [-n] [-q] [-r] [--strict] < <pack-file> +'git unpack-objects' [-n] [-q] [-r] [--strict] < <packfile> DESCRIPTION
Documentation/technical/pack-protocol.txt +2 -2
@@ -465,7 +465,7 @@ contain all the objects that the server will need to complete the new references. ---- - update-request = *shallow ( command-list | push-cert ) [pack-file] + update-request = *shallow ( command-list | push-cert ) [packfile] shallow = PKT-LINE("shallow" SP obj-id LF)
@@ -491,7 +491,7 @@ references. *PKT-LINE(gpg-signature-lines LF) PKT-LINE("push-cert-end" LF) - pack-file = "PACK" 28*(OCTET) + packfile = "PACK" 28*(OCTET) ---- If the receiving end does not support delete-refs, the sending end MUST
Documentation/user-manual.txt +1 -1
@@ -3164,7 +3164,7 @@ objects. (Note that linkgit:git-tag[1] can also be used to create "lightweight tags", which are not tag objects at all, but just simple references whose names begin with `refs/tags/`). -[[pack-files]] +[[packfiles]] How Git stores objects efficiently: pack files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signature · 1 line
2.4.1
Re: [PATCH] doc: fix inconsistent spelling of "packfile"
Quoted 7 lines · Patrick Steinhardt
Fix remaining instances where "pack-file" is used instead of "packfile".
Signed-off-by Patrick Steinhardt <[email protected]>---
This patch now also fixes instances where we refer to EBNF-style command line parameters, as discussed by Junio and Peff.
Thanks.
Documentation/git-index-pack.txt git-index-pack - Build pack index file for an existing packed archive · line 14
Quoted 13 lines
Documentation/git-index-pack.txt +2
-2@@ -9,9 +9,9 @@ git-index-pack - Build pack index file for an existing packed archive SYNOPSIS -------- [verse] -'git index-pack' [-v] [-o <index-file>] <pack-file> +'git index-pack' [-v] [-o <index-file>] <packfile> 'git index-pack' --stdin [--fix-thin] [--keep] [-v] [-o <index-file>] - [<pack-file>] + [<packfile>]
Hmm. The former is taking a concrete *.pack file on disk, and the latter is optionally writing the pack stream out to a *.pack file on disk. If we follow "'packfile' for the concept, 'pack-file' to refer to a file with .pack ending" guideline, I'd think both should be 'pack-file'.
Side note: because these invocations, especially the latter form, can take any filename, you could do:
git index-pack foo.tmp && mv foo.tmp $realfilename.pack
in which case the arguments may not be files whose names end with ".pack"; it is just a file that holds pack data stream, so it could be argued that "packfile" is not incorrect. But the reason why you are doing the above is to ultimately create a *.pack file, and I'd say "pack-file" would be more correct.
Documentation/git-index-pack.txt OPTIONS · line 40
Quoted 5 lines
Documentation/git-index-pack.txt +0
-1@@ -37,11 +37,11 @@ OPTIONS --stdin:: When this flag is provided, the pack is read from stdin - instead and a copy is then written to <pack-file>. If
Likewise; we are writing to a *.pack file, "written to" is not talking about what (i.e. "packfile", the pack data stream) is written but what accepts and holds that data stream in the end.
Documentation/git-index-pack.txt OPTIONS · line 46
Quoted 9 lines
Documentation/git-index-pack.txt +3
-2- <pack-file> is not specified, the pack is written to + instead and a copy is then written to <packfile>. If + <packfile> is not specified, the pack is written to objects/pack/ directory of the current Git repository with a default name determined from the pack content. If - <pack-file> is not specified consider using --keep to + <packfile> is not specified consider using --keep to prevent a race condition between this process and 'git repack'.
All of the above talk about that same entity on the filesystem that receives the pack data stream.
Documentation/git-unpack-objects.txt git-unpack-objects - Unpack objects from a packed archive · line 12
Quoted 10 lines
Documentation/git-unpack-objects.txt +1
-1@@ -9,7 +9,7 @@ git-unpack-objects - Unpack objects from a packed archive SYNOPSIS -------- [verse] -'git unpack-objects' [-n] [-q] [-r] [--strict] < <pack-file> +'git unpack-objects' [-n] [-q] [-r] [--strict] < <packfile>
This feeds the pack data stream to the command from its standard input, so would be a good change.
Side note: if you have an on-disk file to feed this command from its standard input, it is more than likely that the file is a *.pack file, i.e. a "pack-file". But in practice, the command is more often than not fed an output of another command via pipe, and it only cares about it being a pack data stream. So in that sense, both are correct but the updated one is more correct.
Documentation/technical/pack-protocol.txt contain all the objects that the server will need to complete the new · line 465
Quoted 6 lines
Documentation/technical/pack-protocol.txt +0
-0@@ -465,7 +465,7 @@ contain all the objects that the server will need to complete the new references.
All changes to this file are good.
Documentation/user-manual.txt objects. (Note that linkgit:git-tag[1] can also be used to create · line 3167
Quoted 10 lines
Documentation/user-manual.txt +1
-1@@ -3164,7 +3164,7 @@ objects. (Note that linkgit:git-tag[1] can also be used to create "lightweight tags", which are not tag objects at all, but just simple references whose names begin with `refs/tags/`). -[[pack-files]] +[[packfiles]]
Isn't this a xref target? Can you change it without changing all the referrers?
In any case, after doing the above two side notes, I am not sure if readers would appreciate our careful choice of words between "packfile" and "pack-file" when they read the documentation.
Re: [PATCH] doc: fix inconsistent spelling of "packfile"
Quoted 106 lines · Junio C Hamano
Quoted 7 lines · Patrick Steinhardt
Fix remaining instances where "pack-file" is used instead of "packfile".
Signed-off-by Patrick Steinhardt <[email protected]>---
This patch now also fixes instances where we refer to EBNF-style command line parameters, as discussed by Junio and Peff.Thanks.
Documentation/git-index-pack.txt git-index-pack - Build pack index file for an existing packed archive · line 14
Quoted 13 lines
Documentation/git-index-pack.txt +2
-2@@ -9,9 +9,9 @@ git-index-pack - Build pack index file for an existing packed archive SYNOPSIS -------- [verse] -'git index-pack' [-v] [-o <index-file>] <pack-file> +'git index-pack' [-v] [-o <index-file>] <packfile> 'git index-pack' --stdin [--fix-thin] [--keep] [-v] [-o <index-file>] - [<pack-file>] + [<packfile>]Hmm. The former is taking a concrete *.pack file on disk, and the latter is optionally writing the pack stream out to a *.pack file on disk. If we follow "'packfile' for the concept, 'pack-file' to refer to a file with .pack ending" guideline, I'd think both should be 'pack-file'.
Side note: because these invocations, especially the latter form, can take any filename, you could do:
git index-pack foo.tmp && mv foo.tmp $realfilename.pack
in which case the arguments may not be files whose names end with ".pack"; it is just a file that holds pack data stream, so it could be argued that "packfile" is not incorrect. But the reason why you are doing the above is to ultimately create a *.pack file, and I'd say "pack-file" would be more correct.
Documentation/git-index-pack.txt OPTIONS · line 40
Quoted 5 lines
Documentation/git-index-pack.txt +0
-1@@ -37,11 +37,11 @@ OPTIONS --stdin:: When this flag is provided, the pack is read from stdin - instead and a copy is then written to <pack-file>. IfLikewise; we are writing to a *.pack file, "written to" is not talking about what (i.e. "packfile", the pack data stream) is written but what accepts and holds that data stream in the end.
Documentation/git-index-pack.txt OPTIONS · line 46
Quoted 9 lines
Documentation/git-index-pack.txt +3
-2- <pack-file> is not specified, the pack is written to + instead and a copy is then written to <packfile>. If + <packfile> is not specified, the pack is written to objects/pack/ directory of the current Git repository with a default name determined from the pack content. If - <pack-file> is not specified consider using --keep to + <packfile> is not specified consider using --keep to prevent a race condition between this process and 'git repack'.All of the above talk about that same entity on the filesystem that receives the pack data stream.
Documentation/git-unpack-objects.txt git-unpack-objects - Unpack objects from a packed archive · line 12
Quoted 10 lines
Documentation/git-unpack-objects.txt +1
-1@@ -9,7 +9,7 @@ git-unpack-objects - Unpack objects from a packed archive SYNOPSIS -------- [verse] -'git unpack-objects' [-n] [-q] [-r] [--strict] < <pack-file> +'git unpack-objects' [-n] [-q] [-r] [--strict] < <packfile>This feeds the pack data stream to the command from its standard input, so would be a good change.
Side note: if you have an on-disk file to feed this command from its standard input, it is more than likely that the file is a *.pack file, i.e. a "pack-file". But in practice, the command is more often than not fed an output of another command via pipe, and it only cares about it being a pack data stream. So in that sense, both are correct but the updated one is more correct.
Documentation/technical/pack-protocol.txt contain all the objects that the server will need to complete the new · line 465
Quoted 6 lines
Documentation/technical/pack-protocol.txt +0
-0@@ -465,7 +465,7 @@ contain all the objects that the server will need to complete the new references.All changes to this file are good.
Quoted 8 lines
Documentation/user-manual.txt +0
-0@@ -3164,7 +3164,7 @@ objects. (Note that linkgit:git-tag[1] can also be used to create "lightweight tags", which are not tag objects at all, but just simple references whose names begin with `refs/tags/`).
Quoted 5 lines
Documentation/user-manual.txt objects. (Note that linkgit:git-tag[1] can also be used to create · line 3167
Quoted 2 lines
Documentation/user-manual.txt +1
-1-[[pack-files]] +[[packfiles]]Isn't this a xref target? Can you change it without changing all the referrers?
I did not find any referrers pointing to this, so I just changed it. I do not know if there are any referrers from outside, so I guess I'll just revert that back to [[pack-files]] as it is not seen by users anyway.
Quoted 3 lines
In any case, after doing the above two side notes, I am not sure if readers would appreciate our careful choice of words between "packfile" and "pack-file" when they read the documentation.
Exactly my thought by now. While it sure is nice to have the technically most-correct terms in use I guess the user will not realize that we are talking about different things when referring to "pack-files" as opposed to "packfiles". I doubt it will hurt though as the user will certainly just skim over it without realizing that we sometimes use one or the other, as long as they are not used together in a single paragraph.
Patrick
PATCH v2 1/1 doc: fix inconsistent spelling of "packfile"
In reply to Patrick SteinhardtFix remaining instances where "pack-file" is used instead of "packfile". Some places remain where we still use "pack-file", This is the case when we explicitly refer to a file with a ".pack" extension as opposed to a data source providing a pack data stream.
--- Documentation/git-unpack-objects.txt | 2 +- Documentation/technical/pack-protocol.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Documentation/git-unpack-objects.txt +1 -1
@@ -9,7 +9,7 @@ git-unpack-objects - Unpack objects from a packed archive SYNOPSIS -------- [verse] -'git unpack-objects' [-n] [-q] [-r] [--strict] < <pack-file> +'git unpack-objects' [-n] [-q] [-r] [--strict] < <packfile> DESCRIPTION
Documentation/technical/pack-protocol.txt +2 -2
@@ -465,7 +465,7 @@ contain all the objects that the server will need to complete the new references. ---- - update-request = *shallow ( command-list | push-cert ) [pack-file] + update-request = *shallow ( command-list | push-cert ) [packfile] shallow = PKT-LINE("shallow" SP obj-id LF)
@@ -491,7 +491,7 @@ references. *PKT-LINE(gpg-signature-lines LF) PKT-LINE("push-cert-end" LF) - pack-file = "PACK" 28*(OCTET) + packfile = "PACK" 28*(OCTET) ---- If the receiving end does not support delete-refs, the sending end MUST
Signature · 1 line
2.4.1
Re: [PATCH v2] doc: fix inconsistent spelling of "packfile"
Quoted 5 lines · Patrick Steinhardt
Fix remaining instances where "pack-file" is used instead of "packfile". Some places remain where we still use "pack-file", This is the case when we explicitly refer to a file with a ".pack" extension as opposed to a data source providing a pack data stream.
Thanks.
Quoted 25 lines · Junio C Hamano
There still are a handful of "pack-file" remaining in the documentation set, even after applying these three that changes 6 instances of 'pack-file' to 'packfile'.
git-index-pack.txt:'git index-pack' [-v] [-o <index-file>] <pack-file>
git-index-pack.txt: [<pack-file>]
git-index-pack.txt: instead and a copy is then written to <pack-file>. If
git-index-pack.txt: <pack-file> is not specified, the pack is written to
git-index-pack.txt: <pack-file> is not specified consider using --keep to
git-unpack-objects.txt:'git unpack-objects' [-n] [-q] [-r] [--strict] < <pack-file>technical/pack-heuristics.txt: <linus> Anyway, the pack-file could easily be denser still, but technical/pack-heuristics.txt: <linus> In particular, while the pack-file is then compressed, technical/pack-heuristics.txt: <linus> Anyway: I'm not even trying to claim that the pack-files technical/pack-protocol.txt: update-request = *shallow ( command-list | push-cert ) [pack-file] technical/pack-protocol.txt: pack-file = "PACK" 28*(OCTET)user-manual.txt:[[pack-files]]
A quick "git grep packfile" vs "git grep pack-file" inside
Documentation/directory indicates that we seem to use 'packfile' primarily in the lower-level technical documents that are not end-user facing. Almost half of them are in the release notes that we won't bother "fixing", so it might make sense to go the other way around, consistently using "pack-file" that may be more familiar to end-users.
Quoted 1 line
What do others think?
I was aware of the other instances of 'pack-file'. The only case where 'pack-file' does occur after my patches, though, was as command line parameters, where I didn't want to change it. If that's desired I can whip up another patch.
Patrick