aboutsummaryrefslogtreecommitdiffstats
path: root/docbook/wsdg_src
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2014-03-16 19:59:17 +0100
committerJörg Mayer <jmayer@loplof.de>2014-03-16 19:01:25 +0000
commit5f508e8b29e99a3c2049a2b8912ae07e5cce21c6 (patch)
treef327fb81acece5e88a84577cf1a9fdda8bc99cd6 /docbook/wsdg_src
parentd8265cd8c66297bb7bf8d2e05482dd196a8804e6 (diff)
Small updates to the setup process documentation
Change-Id: Ie6dc3a8254e30495945155f058f1ef10a75c4745 Reviewed-on: https://code.wireshark.org/review/700 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'docbook/wsdg_src')
-rw-r--r--docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc12
-rw-r--r--docbook/wsdg_src/WSDG_chapter_sources.asciidoc18
2 files changed, 22 insertions, 8 deletions
diff --git a/docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc b/docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc
index ad300f4f15..0e13ceacbb 100644
--- a/docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc
+++ b/docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc
@@ -5,7 +5,7 @@
++++++++++++++++++++++++++++++++++++++
<!-- $Id$ -->
++++++++++++++++++++++++++++++++++++++
-
+
[[ChapterSetup]]
== Quick Setup
@@ -195,7 +195,7 @@ http://code.google.com/p/gitextensions/.
===== TortoiseGit
-TortoiseGit is a native Windows graphical Git
+TortoiseGit is a native Windows graphical Git
similar to TortoiseSVN. You can download the installer from
http://code.google.com/p/tortoisegit/.
@@ -351,7 +351,7 @@ goto usage
:usage
echo Error in script usage. The correct usage is:
echo %0 [option]
-echo where [option] is: x86 ^| x64
+echo where [option] is: x86 ^| x64
echo:
echo For example:
echo %0 x86
@@ -537,10 +537,10 @@ depends on the compiler variant used. For variants other than
the recommended Visual $$C++$$ 2010 Express Edition SP1 see the table
at <<ChToolsMSChain>>.]
+
-To build a 64-bit version, you will need
-_$$vcredist_x64.exe$$_:
+To build a 64-bit version, you will need
+_$$vcredist_x64.exe$$_:
http://www.microsoft.com/en-us/download/details.aspx?id=13523[Download] the 64-bit redistributable for Visual $$C++$$ 2010 Express
-Edition SP1 (__$$vcredist_x64.exe$$__) and copy it into
+Edition SP1 (__$$vcredist_x64.exe$$__) and copy it into
__C:\Wireshark-win64-libs__.footnoteref:[compilerdependent]
. If you've closed `cmd.exe` prepare it again.
diff --git a/docbook/wsdg_src/WSDG_chapter_sources.asciidoc b/docbook/wsdg_src/WSDG_chapter_sources.asciidoc
index b76e9aa8f9..3a19b855d6 100644
--- a/docbook/wsdg_src/WSDG_chapter_sources.asciidoc
+++ b/docbook/wsdg_src/WSDG_chapter_sources.asciidoc
@@ -197,11 +197,25 @@ your machine. This may take some time depending on the speed of your
internet connection.
--
-. Change to the Wireshark directory and initialize git-review.
+. Then set up the git pre-commit hook and the push address:
+
--
----
$ cd wireshark
+$ cp tools/pre-commit .git/hooks/
+$ git config --add remote.origin.push HEAD:refs/for/master
+----
+This will run a few basic checks on commit to make sure that the code
+does not contain tivial errors. It will also warn if it is out of sync
+with its master copy in the tools/.
+The change in the push address is necessary: We have an asymmetric
+process for pulling and pushing because of gerrit.
+--
+
+. Initialize git-review.
++
+--
+----
$ git review -s
----
This prepares your local repository for use with Gerrit, including
@@ -1118,4 +1132,4 @@ the 'packaging/nsis' directory.
<!-- End of WSDG Chapter Sources -->
++++++++++++++++++++++++++++++++++++++
-// vim: set syntax=asciidoc:
+// vim: set syntax=asciidoc: