From: Steffen Prohaska <prohaska@zib.de>
To: git@vger.kernel.org
Cc: Steffen Prohaska <prohaska@zib.de>
Subject: [PATCH] WinGit: include html pages from official git.git's html branch
Date: Sat, 29 Sep 2007 18:05:53 +0200 [thread overview]
Message-ID: <11910819542185-git-send-email-prohaska@zib.de> (raw)
In-Reply-To: <11910819531200-git-send-email-prohaska@zib.de>
It is assumed that a matching version of the html documentation
is available as the HEAD of /doc/git/html/.git. If not an error
will be reported.
This patch doesn't include a mechanism to fetch the html pages
to /doc/git/html/.git. You should manually clone them. Maybe
this could handled as a submodule of msysgit?
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
---
share/WinGit/release.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/share/WinGit/release.sh b/share/WinGit/release.sh
index 5ab876a..8a3c197 100644
--- a/share/WinGit/release.sh
+++ b/share/WinGit/release.sh
@@ -5,6 +5,8 @@ test -z "$1" && {
exit 1
}
+test -d /doc/git/html/.git || { echo "Error: html pages in /doc/git/html/.git missing"; exit 1; }
+
TARGET="$HOME"/WinGit-$1.exe
OPTS7="-m0=lzma -mx=9 -md=64M"
TARGET7=tmp.7z
@@ -21,6 +23,9 @@ mkdir "$TMPDIR" &&
cp uninstaller.exe "$TMPDIR"/bin) &&
cd "$TMPDIR" &&
echo "Copying files" &&
+(git --git-dir=/doc/git/html/.git log --pretty=format:%s -1 HEAD &&
+ mkdir -p doc/git/html && cd doc/git/html &&
+ git --git-dir=/doc/git/html/.git archive HEAD | tar xf -) &&
(cd / && tar cf - bin/{git*,awk,basename.exe,bash.exe,bunzip2,bzip2.exe,\
cat.exe,chmod.exe,clear,cmp.exe,cp.exe,cpio,cut.exe,cvs.exe,date.exe,diff.exe,\
du.exe,echo,egrep,env.exe,expr.exe,false.exe,find.exe,gawk.exe,grep.exe,\
--
1.5.3.mingw.1.3.g195850
next prev parent reply other threads:[~2007-09-29 16:06 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 23:07 A tour of git: the basics (and notes on some unfriendly messages) Carl Worth
2007-09-29 0:00 ` Shawn O. Pearce
2007-09-29 0:49 ` Johannes Schindelin
2007-09-29 7:44 ` Steffen Prohaska
2007-09-29 15:06 ` Johannes Schindelin
2007-09-29 16:06 ` Steffen Prohaska
2007-09-29 16:05 ` [PATCH] WinGit: included /bin/start in the installer Steffen Prohaska
2007-09-29 16:05 ` Steffen Prohaska [this message]
2007-09-29 20:50 ` [PATCH] WinGit: include html pages from official git.git's html branch Johannes Schindelin
2007-09-29 22:13 ` Junio C Hamano
2007-09-29 23:23 ` Johannes Schindelin
2007-09-30 8:19 ` Steffen Prohaska
2007-09-29 9:01 ` A tour of git: the basics (and notes on some unfriendly messages) Pierre Habouzit
2007-09-29 10:45 ` [RFC] patch series to sketch a less verbose and frightening output Pierre Habouzit
2007-09-29 10:49 ` Pierre Habouzit
[not found] ` <1191062758-30631-2-git-send-email-madcoder@debian.org>
2007-09-29 14:33 ` [PATCH 1/4] Rework progress module so that it uses less screen lines, with progress bars Nicolas Pitre
2007-09-29 16:07 ` Pierre Habouzit
2007-09-30 12:45 ` A tour of git: the basics (and notes on some unfriendly messages) Wincent Colaiuta
2007-09-30 13:49 ` Pierre Habouzit
2007-09-30 14:31 ` Wincent Colaiuta
2007-09-29 21:48 ` Steffen Prohaska
2007-09-29 22:25 ` Junio C Hamano
2007-09-30 8:15 ` Steffen Prohaska
2007-09-30 10:17 ` Junio C Hamano
2007-09-30 12:44 ` Johannes Schindelin
2007-09-30 13:41 ` Steffen Prohaska
2007-09-29 0:45 ` Junio C Hamano
2007-09-30 3:38 ` Carl Worth
2007-09-30 3:38 ` Carl Worth
2007-09-29 5:32 ` Nguyen Thai Ngoc Duy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11910819542185-git-send-email-prohaska@zib.de \
--to=prohaska@zib.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).