[PATCH v2 5/7] worktree: update renamed variable in comment
- From
- Martin Ågren <martin.agren@gmail.com>
- Date
- Sep 27, 2020, 13:15 UTC
- Message-ID
- <dbbc57cd833f95a59ef82ecac6046a43cd88cc31.1600281351.git.martin.agren@gmail.com>
- In-Reply-To
- <cover.1600281350.git.martin.agren@gmail.com>
The comment above `add_head_info()` mentions "head_sha1", but it was renamed to "head_oid" in 0f05154c70 ("worktree: convert struct worktree to object_id", 2017-10-15). Update the comment.
Signed-off-by: Martin Ågren <martin.agren@gmail.com> --- worktree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/worktree.c b/worktree.c index a37d543394..5c9ecec466 100644 --- a/worktree.c +++ b/worktree.c @@ -21,7 +21,7 @@ void free_worktrees(struct worktree **worktrees) } /** - * Update head_sha1, head_ref and is_detached of the given worktree + * Update head_oid, head_ref and is_detached of the given worktree */ static void add_head_info(struct worktree *wt) {
-- 2.28.0.277.g9b3c35fffd