Skip to content

Commit 24623dc

Browse files
authoredJun 17, 2022
doc: update default branch name in Makefile
PR-URL: nodejs#43441 Refs: nodejs#33864 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 5a8440b commit 24623dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1429,8 +1429,8 @@ CLANG_FORMAT_START ?= HEAD
14291429
# $ make format-cpp
14301430
# To format HEAD~1...HEAD (latest commit):
14311431
# $ CLANG_FORMAT_START=`git rev-parse HEAD~1` make format-cpp
1432-
# To format diff between master and current branch head (master...HEAD):
1433-
# $ CLANG_FORMAT_START=master make format-cpp
1432+
# To format diff between main and current branch head (main...HEAD):
1433+
# $ CLANG_FORMAT_START=main make format-cpp
14341434
format-cpp: ## Format C++ diff from $CLANG_FORMAT_START to current changes
14351435
ifneq ("","$(wildcard tools/clang-format/node_modules/)")
14361436
$(info Formatting C++ diff from $(CLANG_FORMAT_START)..)

0 commit comments

Comments
 (0)
Please sign in to comment.