forked from osmocom/wireshark
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>
This commit is contained in:
parent
d8265cd8c6
commit
5f508e8b29
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue