@matheusbsbs / matheus-bagliano / commits / e2618ff427
Fork 0

user-manual: use pithier example commit

Actually, we should have a competition for the favorite example commit. Criteria: - length: one-line changes with one-line comments preferred, and no long lines - significance/memorability - comic value Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

J. Bruce Fields committed Aug 19, 2007 at 11:14 UTC e2618ff42716dd7cbc7a353670f46f357c5fb4c5
1 file changed +20 -25
Documentation/user-manual.txt
+20 -25
@@ -145,32 +145,27 @@ current branch:
145
146 ------------------------------------------------
147 $ git show
148 -commit 2b5f6dcce5bf94b9b119e9ed8d537098ec61c3d2
149 -Author: Jamal Hadi Salim <hadi@cyberus.ca>
150 -Date: Sat Dec 2 22:22:25 2006 -0800
151 -
152 - [XFRM]: Fix aevent structuring to be more complete.
153 -
154 - aevents can not uniquely identify an SA. We break the ABI with this
155 - patch, but consensus is that since it is not yet utilized by any
156 - (known) application then it is fine (better do it now than later).
157 -
158 - Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
159 - Signed-off-by: David S. Miller <davem@davemloft.net>
160 -
161 -diff --git a/Documentation/networking/xfrm_sync.txt b/Documentation/networking/xfrm_sync.txt
162 -index 8be626f..d7aac9d 100644
163 ---- a/Documentation/networking/xfrm_sync.txt
164 -+++ b/Documentation/networking/xfrm_sync.txt
165 -@@ -47,10 +47,13 @@ aevent_id structure looks like:
148 +commit 17cf781661e6d38f737f15f53ab552f1e95960d7
149 +Author: Linus Torvalds <torvalds@ppc970.osdl.org.(none)>
150 +Date: Tue Apr 19 14:11:06 2005 -0700
151 +
152 + Remove duplicate getenv(DB_ENVIRONMENT) call
153 +
154 + Noted by Tony Luck.
155 +
156 +diff --git a/init-db.c b/init-db.c
157 +index 65898fa..b002dc6 100644
158 +--- a/init-db.c
159 ++++ b/init-db.c
160 +@@ -7,7 +7,7 @@
161
167 - struct xfrm_aevent_id {
168 - struct xfrm_usersa_id sa_id;
169 -+ xfrm_address_t saddr;
170 - __u32 flags;
171 -+ __u32 reqid;
172 - };
173 -...
162 + int main(int argc, char **argv)
163 + {
164 +- char *sha1_dir = getenv(DB_ENVIRONMENT), *path;
165 ++ char *sha1_dir, *path;
166 + int len, i;
167 +
168 + if (mkdir(".git", 0755) < 0) {
169 ------------------------------------------------
170
171 As you can see, a commit shows who made the latest change, what they