Browse Source

Merge branch 'en/typofixes' into maint

Typofixes.

* en/typofixes:
  merge-ort: fix completely wrong comment
  trace2.h: fix trivial comment typo
maint
Junio C Hamano 3 years ago
parent
commit
a02d78c4ae
  1. 2
      merge-ort.c
  2. 2
      trace2.h

2
merge-ort.c

@ -4065,7 +4065,7 @@ static int record_conflicted_index_entries(struct merge_options *opt) @@ -4065,7 +4065,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;

2
trace2.h

@ -340,7 +340,7 @@ void trace2_def_repo_fl(const char *file, int line, struct repository *repo); @@ -340,7 +340,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, ...);

Loading…
Cancel
Save