Skip to content

Commit f358c10

Browse files
author
Junio C Hamano
committed
Add Abstract: support for howto index generator.
Maybe it's time for me to really learn asciidoc. Also I should do Perl ;-). Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent d8ddb0a commit f358c10

File tree

5 files changed

+39
-2
lines changed

5 files changed

+39
-2
lines changed

Documentation/howto-index.sh

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,30 @@ do
2020
s/[ ]*$//
2121
s/^/by /
2222
p
23+
}
24+
' "$txt"`
25+
26+
abstract=`sed -ne '
27+
/^Abstract:[ ]/{
28+
s/^[^ ]*//
29+
x
30+
s/.*//
31+
x
32+
: again
33+
/^[ ]/{
34+
s/^[ ]*//
35+
H
36+
n
37+
b again
38+
}
39+
x
40+
p
41+
q
2342
}' "$txt"`
24-
echo "
25-
* link:$txt[$title] $from"
43+
44+
echo "* link:$txt[$title] $from
45+
$abstract
46+
47+
"
2648

2749
done

Documentation/howto/make-dist.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ From: Linus Torvalds <torvalds@osdl.org>
33
To: Dave Jones <davej@redhat.com>
44
cc: git@vger.kernel.org
55
Subject: Re: Fwd: Re: git checkout -f branch doesn't remove extra files
6+
Abstract: In this article, Linus talks about building a tarball,
7+
incremental patch, and ChangeLog, given a base release and two
8+
rc releases, following the convention of giving the patch from
9+
the base release and the latest rc, with ChangeLog between the
10+
last rc and the latest rc.
611

712
On Sat, 13 Aug 2005, Dave Jones wrote:
813
>

Documentation/howto/rebase-and-edit.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ From: Linus Torvalds <torvalds@osdl.org>
33
To: Steve French <smfrench@austin.rr.com>
44
cc: git@vger.kernel.org
55
Subject: Re: sending changesets from the middle of a git tree
6+
Abstract: In this article, Linus demonstrates how a broken commit
7+
in a sequence of commits can be removed by rewinding the head and
8+
reapplying selected changes.
69

710
On Sat, 13 Aug 2005, Linus Torvalds wrote:
811

Documentation/howto/rebase-from-internal-branch.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ To: git@vger.kernel.org
33
Cc: Petr Baudis <pasky@suse.cz>, Linus Torvalds <torvalds@osdl.org>
44
Subject: Re: sending changesets from the middle of a git tree
55
Date: Sun, 14 Aug 2005 18:37:39 -0700
6+
Abstract: In this article, JC talks about how he rebases the
7+
public "pu" branch using the core GIT tools when he updates
8+
the "master" branch, and how "rebase" works. Also discussed
9+
is how this applies to individual developers who sends patches
10+
upstream.
611

712
Petr Baudis <pasky@suse.cz> writes:
813

Documentation/howto/using-topic-branches.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Date: Mon, 15 Aug 2005 12:17:41 -0700
22
From: tony.luck@intel.com
33
Subject: Some tutorial text (was git/cogito workshop/bof at linuxconf au?)
4+
Abstract: In this article, Tony Luck discusses how he uses GIT
5+
as a Linux subsystem maintainer.
46

57
Here's something that I've been putting together on how I'm using
68
GIT as a Linux subsystem maintainer.

0 commit comments

Comments
 (0)