Repository: incubator-htrace Updated Branches: refs/heads/master 1562b9764 -> 78542437f
HTRACE-48 use -L 1 in format.sh to make it work on macosx Project: http://git-wip-us.apache.org/repos/asf/incubator-htrace/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-htrace/commit/78542437 Tree: http://git-wip-us.apache.org/repos/asf/incubator-htrace/tree/78542437 Diff: http://git-wip-us.apache.org/repos/asf/incubator-htrace/diff/78542437 Branch: refs/heads/master Commit: 78542437f8ea52fdf0ae7b6d2eb5dd5ca9bc8f81 Parents: 1562b97 Author: Elliott Clark <[email protected]> Authored: Fri Jan 2 10:33:28 2015 -0800 Committer: Elliott Clark <[email protected]> Committed: Fri Jan 2 14:37:06 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/78542437/htrace-core/src/go/format.sh ---------------------------------------------------------------------- diff --git a/htrace-core/src/go/format.sh b/htrace-core/src/go/format.sh index 6b1c8ae..01ea338 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 gofmt -w +find "${SCRIPT_DIR}" -noleaf -xdev -name '*.go' | xargs -L 1 gofmt -w
