* [PATCH 0/2] Fix a few comments
@ 2021-09-19 1:48 Elijah Newren via GitGitGadget
2021-09-19 1:48 ` [PATCH 1/2] trace2.h: fix trivial comment typo Elijah Newren via GitGitGadget
2021-09-19 1:48 ` [PATCH 2/2] merge-ort: fix completely wrong comment Elijah Newren via GitGitGadget
0 siblings, 2 replies; 3+ messages in thread
From: Elijah Newren via GitGitGadget @ 2021-09-19 1:48 UTC (permalink / raw)
To: git; +Cc: Elijah Newren
Here's a couple trivial comment fixes sitting in random branches that I'm
finally sending upstream.
Elijah Newren (2):
trace2.h: fix trivial comment typo
merge-ort: fix completely wrong comment
merge-ort.c | 2 +-
trace2.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
base-commit: 4c719308ce59dc70e606f910f40801f2c6051b24
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1093%2Fnewren%2Ffix-comments-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1093/newren/fix-comments-v1
Pull-Request: https://github.com/git/git/pull/1093
--
gitgitgadget
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] trace2.h: fix trivial comment typo
2021-09-19 1:48 [PATCH 0/2] Fix a few comments Elijah Newren via GitGitGadget
@ 2021-09-19 1:48 ` Elijah Newren via GitGitGadget
2021-09-19 1:48 ` [PATCH 2/2] merge-ort: fix completely wrong comment Elijah Newren via GitGitGadget
1 sibling, 0 replies; 3+ messages in thread
From: Elijah Newren via GitGitGadget @ 2021-09-19 1:48 UTC (permalink / raw)
To: git; +Cc: Elijah Newren, Elijah Newren
From: Elijah Newren <newren@gmail.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
---
trace2.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/trace2.h b/trace2.h
index 9b7286c572f..2f450ab5bed 100644
--- a/trace2.h
+++ b/trace2.h
@@ -350,7 +350,7 @@ void trace2_def_repo_fl(const char *file, int line, struct repository *repo);
* being started, such as "read_recursive" or "do_read_index".
*
* The `repo` field, if set, will be used to get the "repo-id", so that
- * recursive oerations can be attributed to the correct repository.
+ * recursive operations can be attributed to the correct repository.
*/
void trace2_region_enter_fl(const char *file, int line, const char *category,
const char *label, const struct repository *repo, ...);
--
gitgitgadget
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] merge-ort: fix completely wrong comment
2021-09-19 1:48 [PATCH 0/2] Fix a few comments Elijah Newren via GitGitGadget
2021-09-19 1:48 ` [PATCH 1/2] trace2.h: fix trivial comment typo Elijah Newren via GitGitGadget
@ 2021-09-19 1:48 ` Elijah Newren via GitGitGadget
1 sibling, 0 replies; 3+ messages in thread
From: Elijah Newren via GitGitGadget @ 2021-09-19 1:48 UTC (permalink / raw)
To: git; +Cc: Elijah Newren, Elijah Newren
From: Elijah Newren <newren@gmail.com>
Not sure what happened, but the comment is describing code elsewhere in
the file. Fix the comment to actually discuss the code that follows.
Signed-off-by: Elijah Newren <newren@gmail.com>
---
merge-ort.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/merge-ort.c b/merge-ort.c
index 515dc39b7f6..841196cf728 100644
--- a/merge-ort.c
+++ b/merge-ort.c
@@ -4081,7 +4081,7 @@ static int record_conflicted_index_entries(struct merge_options *opt)
state.istate = index;
original_cache_nr = index->cache_nr;
- /* Put every entry from paths into plist, then sort */
+ /* Append every entry from conflicted into index, then sort */
strmap_for_each_entry(&opt->priv->conflicted, &iter, e) {
const char *path = e->key;
struct conflict_info *ci = e->value;
--
gitgitgadget
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-19 1:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-19 1:48 [PATCH 0/2] Fix a few comments Elijah Newren via GitGitGadget
2021-09-19 1:48 ` [PATCH 1/2] trace2.h: fix trivial comment typo Elijah Newren via GitGitGadget
2021-09-19 1:48 ` [PATCH 2/2] merge-ort: fix completely wrong comment Elijah Newren via GitGitGadget
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).