git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Fix two grammar errors related to the word "save"
@ 2018-08-08 11:49 Johannes Schindelin via GitGitGadget
  2018-08-08 11:49 ` [PATCH 1/2] git-compat-util.h: fix typo Johannes Schindelin via GitGitGadget
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Johannes Schindelin via GitGitGadget @ 2018-08-08 11:49 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

I stumbled over the one in git-compat-util.h while working on an unrelated
bug fix, and then got curious whether there are other places where we use 
save instead of safe, too. Turns out we do not, but there was another
grammar error where a spurious . interrupted a sentence.

Johannes Schindelin (2):
  git-compat-util.h: fix typo
  remote-curl: remove spurious period

 git-compat-util.h | 2 +-
 remote-curl.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


base-commit: 1d89318c48d233d52f1db230cf622935ac3c69fa
Published-As: https://github.com/gitgitgadget/git/releases/tags/pr-16%2Fdscho%2Fsave-typos-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-16/dscho/save-typos-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/16
-- 
gitgitgadget

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

* [PATCH 1/2] git-compat-util.h: fix typo
  2018-08-08 11:49 [PATCH 0/2] Fix two grammar errors related to the word "save" Johannes Schindelin via GitGitGadget
@ 2018-08-08 11:49 ` Johannes Schindelin via GitGitGadget
  2018-08-08 11:50 ` [PATCH 2/2] remote-curl: remove spurious period Johannes Schindelin via GitGitGadget
  2018-08-08 16:06 ` [PATCH 0/2] Fix two grammar errors related to the word "save" Junio C Hamano
  2 siblings, 0 replies; 5+ messages in thread
From: Johannes Schindelin via GitGitGadget @ 2018-08-08 11:49 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Johannes Schindelin

From: Johannes Schindelin <johannes.schindelin@gmx.de>

The words "save" and "safe" are both very wonderful words, each with
their own set of meanings. Let's not confuse them with one another save
on occasion of a pun.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 git-compat-util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-compat-util.h b/git-compat-util.h
index 9a64998b2..a9dfa0be0 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -220,7 +220,7 @@
 #endif
 #ifdef NO_INTPTR_T
 /*
- * On I16LP32, ILP32 and LP64 "long" is the save bet, however
+ * On I16LP32, ILP32 and LP64 "long" is the safe bet, however
  * on LLP86, IL33LLP64 and P64 it needs to be "long long",
  * while on IP16 and IP16L32 it is "int" (resp. "short")
  * Size needs to match (or exceed) 'sizeof(void *)'.
-- 
gitgitgadget


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

* [PATCH 2/2] remote-curl: remove spurious period
  2018-08-08 11:49 [PATCH 0/2] Fix two grammar errors related to the word "save" Johannes Schindelin via GitGitGadget
  2018-08-08 11:49 ` [PATCH 1/2] git-compat-util.h: fix typo Johannes Schindelin via GitGitGadget
@ 2018-08-08 11:50 ` Johannes Schindelin via GitGitGadget
  2018-08-08 16:39   ` Elijah Newren
  2018-08-08 16:06 ` [PATCH 0/2] Fix two grammar errors related to the word "save" Junio C Hamano
  2 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin via GitGitGadget @ 2018-08-08 11:50 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Johannes Schindelin

From: Johannes Schindelin <johannes.schindelin@gmx.de>

We should not interrupt. sentences in the middle.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 remote-curl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/remote-curl.c b/remote-curl.c
index 99b0bedc6..fb28309e8 100644
--- a/remote-curl.c
+++ b/remote-curl.c
@@ -714,7 +714,7 @@ retry:
 
 	} else if (use_gzip && 1024 < rpc->len) {
 		/* The client backend isn't giving us compressed data so
-		 * we can try to deflate it ourselves, this may save on.
+		 * we can try to deflate it ourselves, this may save on
 		 * the transfer time.
 		 */
 		git_zstream stream;
-- 
gitgitgadget

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

* Re: [PATCH 0/2] Fix two grammar errors related to the word "save"
  2018-08-08 11:49 [PATCH 0/2] Fix two grammar errors related to the word "save" Johannes Schindelin via GitGitGadget
  2018-08-08 11:49 ` [PATCH 1/2] git-compat-util.h: fix typo Johannes Schindelin via GitGitGadget
  2018-08-08 11:50 ` [PATCH 2/2] remote-curl: remove spurious period Johannes Schindelin via GitGitGadget
@ 2018-08-08 16:06 ` Junio C Hamano
  2 siblings, 0 replies; 5+ messages in thread
From: Junio C Hamano @ 2018-08-08 16:06 UTC (permalink / raw)
  To: Johannes Schindelin via GitGitGadget; +Cc: git

"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com>
writes:

> I stumbled over the one in git-compat-util.h while working on an unrelated
> bug fix, and then got curious whether there are other places where we use 
> save instead of safe, too. Turns out we do not, but there was another
> grammar error where a spurious . interrupted a sentence.
>
> Johannes Schindelin (2):
>   git-compat-util.h: fix typo
>   remote-curl: remove spurious period
>
>  git-compat-util.h | 2 +-
>  remote-curl.c     | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Fix for typos made in 2009 and 2012, better late than never ;-)

Will queue.

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

* Re: [PATCH 2/2] remote-curl: remove spurious period
  2018-08-08 11:50 ` [PATCH 2/2] remote-curl: remove spurious period Johannes Schindelin via GitGitGadget
@ 2018-08-08 16:39   ` Elijah Newren
  0 siblings, 0 replies; 5+ messages in thread
From: Elijah Newren @ 2018-08-08 16:39 UTC (permalink / raw)
  To: Johannes Schindelin via GitGitGadget
  Cc: Git Mailing List, Junio C Hamano, Johannes Schindelin

On Wed, Aug 8, 2018 at 4:52 AM Johannes Schindelin via GitGitGadget
<gitgitgadget@gmail.com> wrote:
>
> We should not interrupt. sentences in the middle.

I love this. commit message.  :-)

...
>                 /* The client backend isn't giving us compressed data so
> -                * we can try to deflate it ourselves, this may save on.
> +                * we can try to deflate it ourselves, this may save on
>                  * the transfer time.

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

end of thread, other threads:[~2018-08-08 16:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-08 11:49 [PATCH 0/2] Fix two grammar errors related to the word "save" Johannes Schindelin via GitGitGadget
2018-08-08 11:49 ` [PATCH 1/2] git-compat-util.h: fix typo Johannes Schindelin via GitGitGadget
2018-08-08 11:50 ` [PATCH 2/2] remote-curl: remove spurious period Johannes Schindelin via GitGitGadget
2018-08-08 16:39   ` Elijah Newren
2018-08-08 16:06 ` [PATCH 0/2] Fix two grammar errors related to the word "save" 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).