Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Yu <F3n67u@outlook.com>2022-06-17 10:41:07 +0300
committerMichaƫl Zasso <targos@protonmail.com>2022-07-12 08:41:28 +0300
commit06fe60a6f9e4da14f276f7fd758b1ead7ed87746 (patch)
treea90a48834cdac89eb8cae36bb918f59da8515210 /Makefile
parent9d61da0aefbea8fb4d4c3b36a76752154cd2fef7 (diff)
doc: update default branch name in `Makefile`
PR-URL: https://github.com/nodejs/node/pull/43441 Refs: https://github.com/nodejs/node/issues/33864 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9f7ab7129d0..dc90da2fd1e 100644
--- a/Makefile
+++ b/Makefile
@@ -1429,8 +1429,8 @@ CLANG_FORMAT_START ?= HEAD
# $ make format-cpp
# To format HEAD~1...HEAD (latest commit):
# $ CLANG_FORMAT_START=`git rev-parse HEAD~1` make format-cpp
-# To format diff between master and current branch head (master...HEAD):
-# $ CLANG_FORMAT_START=master make format-cpp
+# To format diff between main and current branch head (main...HEAD):
+# $ CLANG_FORMAT_START=main make format-cpp
format-cpp: ## Format C++ diff from $CLANG_FORMAT_START to current changes
ifneq ("","$(wildcard tools/clang-format/node_modules/)")
$(info Formatting C++ diff from $(CLANG_FORMAT_START)..)