You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2018/02/21 14:22:29 UTC
[incubator-openwhisk.wiki] branch master updated: Updated
Contributing: Git guidelines (markdown)
This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new fd970e4 Updated Contributing: Git guidelines (markdown)
fd970e4 is described below
commit fd970e4dceb8614c9b23811286336fdc261be6ce
Author: Carlos Santana <cs...@gmail.com>
AuthorDate: Wed Feb 21 09:22:28 2018 -0500
Updated Contributing: Git guidelines (markdown)
---
Contributing:-Git-guidelines.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Contributing:-Git-guidelines.md b/Contributing:-Git-guidelines.md
index 8eef037..3d54ad7 100644
--- a/Contributing:-Git-guidelines.md
+++ b/Contributing:-Git-guidelines.md
@@ -36,7 +36,10 @@ It is worth adding a Git [pre-commit hook](https://git-scm.com/book/en/v2/Custom
```bash
$ cat /path/to/openwhisk/.git/hooks/pre-commit
#!/usr/bin/env bash
-python /path/to/incubator-openwhisk-utilities/scancode/scanCode.py .
+
+# determine openwhisk base directory
+root="$(git rev-parse --show-toplevel)"
+python /path/to/incubator-openwhisk-utilities/scancode/scanCode.py . --config $root/tools/
```
_Note_: A hook a locally installed, so if you check out the repository again, you will need to reinstall it.
@@ -258,4 +261,3 @@ Merging pull requests is primarily a mechanical process. Before merging, confirm
Now the pull request has been merged. GitHub may not have closed it automatically, though, as the commits have new hashes. You can close it manually and make a note that the commits are in master, with different hashes.
-
--
To stop receiving notification emails like this one, please contact
csantanapr@apache.org.