Repository: incubator-htrace Updated Branches: refs/heads/master e755172e6 -> 7676c37bb
HTRACE-71. format.sh: only format src/ directory (cmccabe) Project: http://git-wip-us.apache.org/repos/asf/incubator-htrace/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-htrace/commit/7676c37b Tree: http://git-wip-us.apache.org/repos/asf/incubator-htrace/tree/7676c37b Diff: http://git-wip-us.apache.org/repos/asf/incubator-htrace/diff/7676c37b Branch: refs/heads/master Commit: 7676c37bbd502a66b4a2b27687f9f58c4fbe79fd Parents: e755172 Author: Colin P. Mccabe <[email protected]> Authored: Thu Jan 22 11:38:46 2015 -0800 Committer: Colin P. Mccabe <[email protected]> Committed: Thu Jan 22 11:38:46 2015 -0800 ---------------------------------------------------------------------- htrace-core/src/go/format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-htrace/blob/7676c37b/htrace-core/src/go/format.sh ---------------------------------------------------------------------- diff --git a/htrace-core/src/go/format.sh b/htrace-core/src/go/format.sh index 01ea338..46aa5b1 100755 --- a/htrace-core/src/go/format.sh +++ b/htrace-core/src/go/format.sh @@ -37,4 +37,4 @@ which gofmt &> /dev/null # Find go sources. We assume no newlines or whitespace in file names. SCRIPT_DIR="$(cd "$( dirname $0 )" && pwd)" -find "${SCRIPT_DIR}" -noleaf -xdev -name '*.go' | xargs -L 1 gofmt -w +find "${SCRIPT_DIR}/src" -noleaf -xdev -name '*.go' | xargs -L 1 gofmt -w
