git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Documentation: change "folder" to "directory"
@ 2021-10-24 17:09 Martin Ågren
  2021-10-24 17:09 ` [PATCH 1/3] git-multi-pack-index.txt: " Martin Ågren
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Martin Ågren @ 2021-10-24 17:09 UTC (permalink / raw)
  To: git; +Cc: Derrick Stolee, Taylor Blau, Dr . Adam Nielsen,
	Jakub Narębski

It is my understanding that we prefer "directory" over "folder" when
discussing the file system concept. (Whereas "folder" is commonly used
for the GUI view of such a directory, or for an IMAP folder.)

I stumbled on a mention of the ".git folder" when going through the
doc-diff between v2.33.0 and 9d530dc002 ("The fourteenth batch",
2021-10-18), and started looking around. This series is the outcome.

Based on master.

Martin Ågren (3):
  git-multi-pack-index.txt: change "folder" to "directory"
  gitignore.txt: change "folder" to "directory"
  gitweb.txt: change "folder" to "directory"

 Documentation/git-multi-pack-index.txt | 6 +++---
 Documentation/gitignore.txt            | 2 +-
 Documentation/gitweb.txt               | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.33.1.711.g9d530dc002


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/3] git-multi-pack-index.txt: change "folder" to "directory"
  2021-10-24 17:09 [PATCH 0/3] Documentation: change "folder" to "directory" Martin Ågren
@ 2021-10-24 17:09 ` Martin Ågren
  2021-10-24 17:09 ` [PATCH 2/3] gitignore.txt: " Martin Ågren
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Martin Ågren @ 2021-10-24 17:09 UTC (permalink / raw)
  To: git; +Cc: Derrick Stolee, Taylor Blau

We prefer "directory" over "folder" when discussing the file system
concept. In all of our documentation, these are the only spots where we
refer to the `.git` directory as a folder. Switch to "directory", and
while doing so, add backticks to the ".git" filename to set it in
monospace.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
---
 Documentation/git-multi-pack-index.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/git-multi-pack-index.txt b/Documentation/git-multi-pack-index.txt
index b008ce2850..c588fb91af 100644
--- a/Documentation/git-multi-pack-index.txt
+++ b/Documentation/git-multi-pack-index.txt
@@ -99,13 +99,13 @@ associated `.keep` file will not be selected for the batch to repack.
 EXAMPLES
 --------
 
-* Write a MIDX file for the packfiles in the current .git folder.
+* Write a MIDX file for the packfiles in the current `.git` directory.
 +
 -----------------------------------------------
 $ git multi-pack-index write
 -----------------------------------------------
 
-* Write a MIDX file for the packfiles in the current .git folder with a
+* Write a MIDX file for the packfiles in the current `.git` directory with a
 corresponding bitmap.
 +
 -------------------------------------------------------------
@@ -118,7 +118,7 @@ $ git multi-pack-index write --preferred-pack=<pack> --bitmap
 $ git multi-pack-index --object-dir <alt> write
 -----------------------------------------------
 
-* Verify the MIDX file for the packfiles in the current .git folder.
+* Verify the MIDX file for the packfiles in the current `.git` directory.
 +
 -----------------------------------------------
 $ git multi-pack-index verify
-- 
2.33.1.711.g9d530dc002


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/3] gitignore.txt: change "folder" to "directory"
  2021-10-24 17:09 [PATCH 0/3] Documentation: change "folder" to "directory" Martin Ågren
  2021-10-24 17:09 ` [PATCH 1/3] git-multi-pack-index.txt: " Martin Ågren
@ 2021-10-24 17:09 ` Martin Ågren
  2021-10-24 17:09 ` [PATCH 3/3] gitweb.txt: " Martin Ågren
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Martin Ågren @ 2021-10-24 17:09 UTC (permalink / raw)
  To: git; +Cc: Dr . Adam Nielsen

We prefer "directory" over "folder" when discussing the file system
concept. Change this instance for consistency -- indeed, even within
this paragraph, we already use "directory".

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
---
 Documentation/gitignore.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt
index f8a1fc2014..f2738b10db 100644
--- a/Documentation/gitignore.txt
+++ b/Documentation/gitignore.txt
@@ -155,7 +155,7 @@ accessed from the index or a tree versus from the filesystem.
 EXAMPLES
 --------
 
- - The pattern `hello.*` matches any file or folder
+ - The pattern `hello.*` matches any file or directory
    whose name begins with `hello.`. If one wants to restrict
    this only to the directory and not in its subdirectories,
    one can prepend the pattern with a slash, i.e. `/hello.*`;
-- 
2.33.1.711.g9d530dc002


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/3] gitweb.txt: change "folder" to "directory"
  2021-10-24 17:09 [PATCH 0/3] Documentation: change "folder" to "directory" Martin Ågren
  2021-10-24 17:09 ` [PATCH 1/3] git-multi-pack-index.txt: " Martin Ågren
  2021-10-24 17:09 ` [PATCH 2/3] gitignore.txt: " Martin Ågren
@ 2021-10-24 17:09 ` Martin Ågren
  2021-10-25  9:19 ` [PATCH 0/3] Documentation: " Bagas Sanjaya
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Martin Ågren @ 2021-10-24 17:09 UTC (permalink / raw)
  To: git; +Cc: Jakub Narębski

We prefer "directory" over "folder" when discussing the file system
concept. Change this instance for consistency.

After this, the only hits for '\<folder\>' in Documentation/ relate to
IMAP folders.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
---
 Documentation/gitweb.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt
index 3cc9b034c4..7cee9d3689 100644
--- a/Documentation/gitweb.txt
+++ b/Documentation/gitweb.txt
@@ -547,7 +547,7 @@ like this:
     # make the front page an internal rewrite to the gitweb script
     RewriteRule ^/$  /cgi-bin/gitweb.cgi  [QSA,L,PT]
 
-    # look for a public_git folder in unix users' home
+    # look for a public_git directory in unix users' home
     # http://git.example.org/~<user>/
     RewriteRule ^/\~([^\/]+)(/|/gitweb.cgi)?$	/cgi-bin/gitweb.cgi \
 		[QSA,E=GITWEB_PROJECTROOT:/home/$1/public_git/,L,PT]
-- 
2.33.1.711.g9d530dc002


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] Documentation: change "folder" to "directory"
  2021-10-24 17:09 [PATCH 0/3] Documentation: change "folder" to "directory" Martin Ågren
                   ` (2 preceding siblings ...)
  2021-10-24 17:09 ` [PATCH 3/3] gitweb.txt: " Martin Ågren
@ 2021-10-25  9:19 ` Bagas Sanjaya
  2021-10-26  6:02   ` Martin Ågren
  2021-10-25 15:31 ` Derrick Stolee
  2021-10-25 18:08 ` Junio C Hamano
  5 siblings, 1 reply; 9+ messages in thread
From: Bagas Sanjaya @ 2021-10-25  9:19 UTC (permalink / raw)
  To: Martin Ågren, git
  Cc: Derrick Stolee, Taylor Blau, Dr . Adam Nielsen,
	Jakub Narębski

On 25/10/21 00.09, Martin Ågren wrote:
> It is my understanding that we prefer "directory" over "folder" when
> discussing the file system concept. (Whereas "folder" is commonly used
> for the GUI view of such a directory, or for an IMAP folder.)
> 
> I stumbled on a mention of the ".git folder" when going through the
> doc-diff between v2.33.0 and 9d530dc002 ("The fourteenth batch",
> 2021-10-18), and started looking around. This series is the outcome.
> 
> Based on master.
> 
> Martin Ågren (3):
>    git-multi-pack-index.txt: change "folder" to "directory"
>    gitignore.txt: change "folder" to "directory"
>    gitweb.txt: change "folder" to "directory"
> 

The same logical change over three patches, why aren't they be squashed 
into single commit?

-- 
An old man doll... just what I always wanted! - Clara

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] Documentation: change "folder" to "directory"
  2021-10-24 17:09 [PATCH 0/3] Documentation: change "folder" to "directory" Martin Ågren
                   ` (3 preceding siblings ...)
  2021-10-25  9:19 ` [PATCH 0/3] Documentation: " Bagas Sanjaya
@ 2021-10-25 15:31 ` Derrick Stolee
  2021-10-25 18:08 ` Junio C Hamano
  5 siblings, 0 replies; 9+ messages in thread
From: Derrick Stolee @ 2021-10-25 15:31 UTC (permalink / raw)
  To: Martin Ågren, git
  Cc: Derrick Stolee, Taylor Blau, Dr . Adam Nielsen,
	Jakub Narębski

On 10/24/2021 1:09 PM, Martin Ågren wrote:
> It is my understanding that we prefer "directory" over "folder" when
> discussing the file system concept. (Whereas "folder" is commonly used
> for the GUI view of such a directory, or for an IMAP folder.)
> 
> I stumbled on a mention of the ".git folder" when going through the
> doc-diff between v2.33.0 and 9d530dc002 ("The fourteenth batch",
> 2021-10-18), and started looking around. This series is the outcome.

Thanks for these changes, in particular for the ones that I had
introduced in git-multi-pack-index.txt.

Thanks,
-Stolee

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] Documentation: change "folder" to "directory"
  2021-10-24 17:09 [PATCH 0/3] Documentation: change "folder" to "directory" Martin Ågren
                   ` (4 preceding siblings ...)
  2021-10-25 15:31 ` Derrick Stolee
@ 2021-10-25 18:08 ` Junio C Hamano
  5 siblings, 0 replies; 9+ messages in thread
From: Junio C Hamano @ 2021-10-25 18:08 UTC (permalink / raw)
  To: Martin Ågren
  Cc: git, Derrick Stolee, Taylor Blau, Dr . Adam Nielsen,
	Jakub Narębski

Martin Ågren <martin.agren@gmail.com> writes:

> It is my understanding that we prefer "directory" over "folder" when
> discussing the file system concept. (Whereas "folder" is commonly used
> for the GUI view of such a directory, or for an IMAP folder.)
>
> I stumbled on a mention of the ".git folder" when going through the
> doc-diff between v2.33.0 and 9d530dc002 ("The fourteenth batch",
> 2021-10-18), and started looking around. This series is the outcome.
>
> Based on master.
>
> Martin Ågren (3):
>   git-multi-pack-index.txt: change "folder" to "directory"
>   gitignore.txt: change "folder" to "directory"
>   gitweb.txt: change "folder" to "directory"

Thanks.  Being consistent is good.

We should have been a bit more careful when we reviewed the changes
that introduced these.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] Documentation: change "folder" to "directory"
  2021-10-25  9:19 ` [PATCH 0/3] Documentation: " Bagas Sanjaya
@ 2021-10-26  6:02   ` Martin Ågren
  2021-10-27 18:48     ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Ågren @ 2021-10-26  6:02 UTC (permalink / raw)
  To: Bagas Sanjaya
  Cc: Git Mailing List, Derrick Stolee, Taylor Blau, Dr . Adam Nielsen,
	Jakub Narębski

Hi Bagas,

On Mon, 25 Oct 2021 at 11:19, Bagas Sanjaya <bagasdotme@gmail.com> wrote:
>
> On 25/10/21 00.09, Martin Ågren wrote:
> > Martin Ågren (3):
> >    git-multi-pack-index.txt: change "folder" to "directory"
> >    gitignore.txt: change "folder" to "directory"
> >    gitweb.txt: change "folder" to "directory"
> >
>
> The same logical change over three patches, why aren't they be squashed
> into single commit?

Old habit, I guess. :) I tend to find that having multiple patches aids
reviewing. Within reason, obviously. Reviewers don't have to go "I agree
with everything except that particular hunk", but can just say "I agree
with everything except patch two", making tracking things a bit easier.

Similarly, if the patches are all independent (albeit being about the
same topic) and it comes up that a particular patch is not such a good
idea after all because reasons, Junio could just decide to apply a
subset and leave the rest. In this case, the commit message of the third
patch assumes that the first two have already been applied, so they're
not completely independent, but that's about the only interdependency
there is in these.

I'm happy to go either way.

Martin

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] Documentation: change "folder" to "directory"
  2021-10-26  6:02   ` Martin Ågren
@ 2021-10-27 18:48     ` Junio C Hamano
  0 siblings, 0 replies; 9+ messages in thread
From: Junio C Hamano @ 2021-10-27 18:48 UTC (permalink / raw)
  To: Martin Ågren
  Cc: Bagas Sanjaya, Git Mailing List, Derrick Stolee, Taylor Blau,
	Dr . Adam Nielsen, Jakub Narębski

Martin Ågren <martin.agren@gmail.com> writes:

> Old habit, I guess. :) I tend to find that having multiple patches aids
> reviewing. Within reason, obviously. Reviewers don't have to go "I agree
> with everything except that particular hunk", but can just say "I agree
> with everything except patch two", making tracking things a bit easier.

In this case, changes to three separate files are presented in three
separate patches, which was a quite pleasant read.  I do appreciate
that you said "within reason" ;-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-10-27 18:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-24 17:09 [PATCH 0/3] Documentation: change "folder" to "directory" Martin Ågren
2021-10-24 17:09 ` [PATCH 1/3] git-multi-pack-index.txt: " Martin Ågren
2021-10-24 17:09 ` [PATCH 2/3] gitignore.txt: " Martin Ågren
2021-10-24 17:09 ` [PATCH 3/3] gitweb.txt: " Martin Ågren
2021-10-25  9:19 ` [PATCH 0/3] Documentation: " Bagas Sanjaya
2021-10-26  6:02   ` Martin Ågren
2021-10-27 18:48     ` Junio C Hamano
2021-10-25 15:31 ` Derrick Stolee
2021-10-25 18:08 ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).