* [PATCH] Clean weird documentation for 'git var' and 'git
@ 2012-05-10 16:45 Philippe Vaucher
2012-05-10 16:47 ` Philippe Vaucher
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Philippe Vaucher @ 2012-05-10 16:45 UTC (permalink / raw)
To: git
Here's a patch removing the weird bits. I spoke about in my previous message.
Philippe
Signed-off-by: Philippe Vaucher <philippe.vaucher@gmail.com>
---
Documentation/git-commit-tree.txt | 9 ---------
Documentation/git-var.txt | 9 ---------
2 files changed, 18 deletions(-)
diff --git a/Documentation/git-commit-tree.txt
b/Documentation/git-commit-tree.txt
index cfb9906..eb8ee99 100644
--- a/Documentation/git-commit-tree.txt
+++ b/Documentation/git-commit-tree.txt
@@ -88,15 +88,6 @@ for one to be entered and terminated with ^D.
include::date-formats.txt[]
-Diagnostics
------------
-You don't exist. Go away!::
- The passwd(5) gecos field couldn't be read
-Your parents must have hated you!::
- The passwd(5) gecos field is longer than a giant static buffer.
-Your sysadmin must hate you!::
- The passwd(5) name field is longer than a giant static buffer.
-
Discussion
----------
diff --git a/Documentation/git-var.txt b/Documentation/git-var.txt
index 988a323..67edf58 100644
--- a/Documentation/git-var.txt
+++ b/Documentation/git-var.txt
@@ -59,15 +59,6 @@ ifdef::git-default-pager[]
The build you are using chose '{git-default-pager}' as the default.
endif::git-default-pager[]
-Diagnostics
------------
-You don't exist. Go away!::
- The passwd(5) gecos field couldn't be read
-Your parents must have hated you!::
- The passwd(5) gecos field is longer than a giant static buffer.
-Your sysadmin must hate you!::
- The passwd(5) name field is longer than a giant static buffer.
-
SEE ALSO
--------
linkgit:git-commit-tree[1]
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] Clean weird documentation for 'git var' and 'git
2012-05-10 16:45 [PATCH] Clean weird documentation for 'git var' and 'git Philippe Vaucher
@ 2012-05-10 16:47 ` Philippe Vaucher
2012-05-10 16:55 ` Junio C Hamano
2012-05-10 17:06 ` René Scharfe
2 siblings, 0 replies; 9+ messages in thread
From: Philippe Vaucher @ 2012-05-10 16:47 UTC (permalink / raw)
To: git
I see I messed up the commit message which is too long. You can change
it to something like "Clean documentation (git-var/git-commit-tree)"
if you decide to import the patch.
Philippe
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Clean weird documentation for 'git var' and 'git
2012-05-10 16:45 [PATCH] Clean weird documentation for 'git var' and 'git Philippe Vaucher
2012-05-10 16:47 ` Philippe Vaucher
@ 2012-05-10 16:55 ` Junio C Hamano
2012-05-10 18:03 ` Philip Oakley
2012-05-10 17:06 ` René Scharfe
2 siblings, 1 reply; 9+ messages in thread
From: Junio C Hamano @ 2012-05-10 16:55 UTC (permalink / raw)
To: Philippe Vaucher; +Cc: git
Philippe Vaucher <philippe.vaucher@gmail.com> writes:
> Here's a patch removing the weird bits. I spoke about in my previous message.
What's weird about them? They are real messages issued exactly when they
are described to be issued.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Clean weird documentation for 'git var' and 'git
2012-05-10 16:45 [PATCH] Clean weird documentation for 'git var' and 'git Philippe Vaucher
2012-05-10 16:47 ` Philippe Vaucher
2012-05-10 16:55 ` Junio C Hamano
@ 2012-05-10 17:06 ` René Scharfe
2 siblings, 0 replies; 9+ messages in thread
From: René Scharfe @ 2012-05-10 17:06 UTC (permalink / raw)
To: Philippe Vaucher; +Cc: git
Am 10.05.2012 18:45, schrieb Philippe Vaucher:
> Here's a patch removing the weird bits. I spoke about in my previous message.
Ideally, a commit message should be self-contained and explain the
reasons for the introduced changes, or at least contain a link to a
mailing list archive, so that readers who only have the git repository
have a chance to follow the arguments.
>
> Philippe
>
>
> Signed-off-by: Philippe Vaucher<philippe.vaucher@gmail.com>
The author field of a commit plus the sign-off line are enough to
identify you, no extra line with your name required.
> ---
> Documentation/git-commit-tree.txt | 9 ---------
> Documentation/git-var.txt | 9 ---------
> 2 files changed, 18 deletions(-)
>
> diff --git a/Documentation/git-commit-tree.txt
> b/Documentation/git-commit-tree.txt
> index cfb9906..eb8ee99 100644
> --- a/Documentation/git-commit-tree.txt
> +++ b/Documentation/git-commit-tree.txt
> @@ -88,15 +88,6 @@ for one to be entered and terminated with ^D.
>
> include::date-formats.txt[]
>
> -Diagnostics
> ------------
> -You don't exist. Go away!::
> - The passwd(5) gecos field couldn't be read
> -Your parents must have hated you!::
> - The passwd(5) gecos field is longer than a giant static buffer.
> -Your sysadmin must hate you!::
> - The passwd(5) name field is longer than a giant static buffer.
> -
These are actual error messages and their meanings, e.g. git prints "You
don't exist. Go away!" in case the gecos field of your account in
/etc/passwd (or NIS, or LDAP) couldn't be read.
René
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-05-10 20:16 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-10 16:45 [PATCH] Clean weird documentation for 'git var' and 'git Philippe Vaucher
2012-05-10 16:47 ` Philippe Vaucher
2012-05-10 16:55 ` Junio C Hamano
2012-05-10 18:03 ` Philip Oakley
[not found] ` <CAGK7Mr6AjSY-D9p1vzs=xCg-TMCPiBJDOSxMVYtykeCZCPW2FA@mail.gmail.com>
2012-05-10 18:26 ` Philippe Vaucher
2012-05-10 18:41 ` Junio C Hamano
2012-05-10 20:14 ` Philippe Vaucher
2012-05-10 20:15 ` Philippe Vaucher
2012-05-10 17:06 ` René Scharfe
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 NNTP newsgroup(s).