-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
364 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
*.1 | ||
*.7 | ||
howto-index.txt | ||
doc.dep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/perl | ||
|
||
my %include = (); | ||
|
||
for my $text (<git-*.txt>) { | ||
open I, '<', $text || die "cannot read: $text"; | ||
(my $base = $text) =~ s/\.txt$//; | ||
while (<I>) { | ||
if (/^include::/) { | ||
chomp; | ||
s/^include::\s*//; | ||
s/\[\]//; | ||
$include{$base}{$_} = 1; | ||
} | ||
} | ||
close I; | ||
} | ||
|
||
# Do we care about chained includes??? | ||
|
||
while (my ($base, $included) = each %include) { | ||
my ($suffix) = '1'; | ||
if ($base eq 'git') { | ||
$suffix = '7'; # yuck... | ||
} | ||
print "$base.html $base.$suffix : ", join(" ", keys %$included), "\n"; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
git-cvsexportcommit(1) | ||
====================== | ||
|
||
NAME | ||
---- | ||
git-cvsexportcommit - Export a commit to a CVS checkout | ||
|
||
|
||
SYNOPSIS | ||
-------- | ||
git-cvsapplycommmit.perl | ||
[ -h ] [ -v ] [ -c ] [ -p ] [PARENTCOMMIT] COMMITID | ||
|
||
|
||
DESCRIPTION | ||
----------- | ||
Exports a commit from GIT to a CVS checkout, making it easier | ||
to merge patches from a git repository into a CVS repository. | ||
|
||
Execute it from the root of the CVS working copy. GIT_DIR must be defined. | ||
|
||
It does its best to do the safe thing, it will check that the files are | ||
unchanged and up to date in the CVS checkout, and it will not autocommit | ||
by default. | ||
|
||
Supports file additions, removals, and commits that affect binary files. | ||
|
||
If the commit is a merge commit, you must tell git-cvsapplycommit what parent | ||
should the changeset be done against. | ||
|
||
OPTIONS | ||
------- | ||
|
||
-c:: | ||
Commit automatically if the patch applied cleanly. It will not | ||
commit if any hunks fail to apply or there were other problems. | ||
|
||
-p:: | ||
Be pedantic (paranoid) when applying patches. Invokes patch with | ||
--fuzz=0 | ||
|
||
-v:: | ||
Verbose. | ||
|
||
Author | ||
------ | ||
Written by Martin Langhoff <martin@catalyst.net.nz> | ||
|
||
Documentation | ||
-------------- | ||
Documentation by Martin Langhoff <martin@catalyst.net.nz> | ||
|
||
GIT | ||
--- | ||
Part of the gitlink:git[7] suite | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.