Skip to content

Commit 06fe60a

Browse files
F3n67utargos
authored andcommitted
doc: update default branch name in Makefile
PR-URL: #43441 Refs: #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>
1 parent 9d61da0 commit 06fe60a

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)