summaryrefslogtreecommitdiff
path: root/branch.h
diff options
context:
space:
mode:
authorPi Fisher <pi.l.d.fisher@gmail.com>2024-04-07 21:21:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2024-04-11 22:14:56 (GMT)
commit84a7c33a4b2260076664185daeba601ff1f09dc4 (patch)
tree1af3d18473a80c604be8527a5c3aa9e382b548ba /branch.h
parentfb7d80edcae482f4fa5d4be0227dc3054734e5f3 (diff)
downloadgit-84a7c33a4b2260076664185daeba601ff1f09dc4.zip
git-84a7c33a4b2260076664185daeba601ff1f09dc4.tar.gz
git-84a7c33a4b2260076664185daeba601ff1f09dc4.tar.bz2
typo: replace 'commitish' with 'committish'
Across only three files, comments and a single function name used 'commitish' rather than 'commit-ish' or 'committish' as the spelling. The git glossary accepts a hyphen or a double-t, but not a single-t. Despite the typo in a translation file, none of the typos appear in user-visible locations. Signed-off-by: Pi Fisher <Pi.L.D.Fisher@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.h')
-rw-r--r--branch.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/branch.h b/branch.h
index 30c01ae..ec2f35f 100644
--- a/branch.h
+++ b/branch.h
@@ -78,26 +78,26 @@ void create_branch(struct repository *r,
* those of create_branch() except for start_name, which is represented
* by two different parameters:
*
- * - start_commitish is the commit-ish, in repository r, that determines
+ * - start_committish is the commit-ish, in repository r, that determines
* which commits the branches will point to. The superproject branch
- * will point to the commit of start_commitish and the submodule
- * branches will point to the gitlink commit oids in start_commitish's
+ * will point to the commit of start_committish and the submodule
+ * branches will point to the gitlink commit oids in start_committish's
* tree.
*
* - tracking_name is the name of the ref, in repository r, that will be
* used to set up tracking information. This value is propagated to
* all submodules, which will evaluate the ref using their own ref
- * stores. If NULL, this defaults to start_commitish.
+ * stores. If NULL, this defaults to start_committish.
*
- * When this function is called on the superproject, start_commitish
+ * When this function is called on the superproject, start_committish
* can be any user-provided ref and tracking_name can be NULL (similar
* to create_branches()). But when recursing through submodules,
- * start_commitish is the plain gitlink commit oid. Since the oid cannot
+ * start_committish is the plain gitlink commit oid. Since the oid cannot
* be used for tracking information, tracking_name is propagated and
* used for tracking instead.
*/
void create_branches_recursively(struct repository *r, const char *name,
- const char *start_commitish,
+ const char *start_committish,
const char *tracking_name, int force,
int reflog, int quiet, enum branch_track track,
int dry_run);