git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v4 05/20] environment: place key repository state in the_repository

From
BWBrandon Williams <bmwill@google.com>
Date
Jun 22, 2017, 18:43 UTC
Message-ID
<20170622184348.56497-6-bmwill@google.com>
In-Reply-To
<20170622184348.56497-1-bmwill@google.com>

Migrate 'git_dir', 'git_common_dir', 'git_object_dir', 'git_index_file', 'git_graft_file', and 'namespace' to be stored in 'the_repository'.

Signed-off-by: Brandon Williams <bmwill@google.com>
---
 cache.h       |  1 -
 environment.c | 58 +++++++++++++---------------------------------------------
 path.c        | 11 ++++++-----
 setup.c       | 17 +++++++++++++++--
 4 files changed, 34 insertions(+), 53 deletions(-)
diff --git a/cache.h b/cache.h
index 7c81749a9..cd64cbc81 100644
--- a/cache.h
+++ b/cache.h
@@ -771,7 +771,6 @@ extern int core_apply_sparse_checkout;
 extern int precomposed_unicode;
 extern int protect_hfs;
 extern int protect_ntfs;
-extern int git_db_env, git_index_env, git_graft_env, git_common_dir_env;
 
 /*
  * Include broken refs in all ref iterations, which will
diff --git a/environment.c b/environment.c
index e035f6372..aa79ef83e 100644
--- a/environment.c
+++ b/environment.c
@@ -8,6 +8,7 @@
  * are.
  */
 #include "cache.h"
+#include "repository.h"
 #include "config.h"
 #include "refs.h"
 #include "fmt-merge-msg.h"
@@ -101,10 +102,6 @@ static const char *namespace;
 
 static const char *super_prefix;
 
-static const char *git_dir, *git_common_dir;
-static char *git_object_dir, *git_index_file, *git_graft_file;
-int git_db_env, git_index_env, git_graft_env, git_common_dir_env;
-
 /*
  * Repository-local GIT_* environment variables; see cache.h for details.
  */
@@ -148,41 +145,11 @@ static char *expand_namespace(const char *raw_namespace)
 	return strbuf_detach(&buf, NULL);
 }
 
-static char *git_path_from_env(const char *envvar, const char *git_dir,
-			       const char *path, int *fromenv)
-{
-	const char *value = getenv(envvar);
-	if (!value)
-		return xstrfmt("%s/%s", git_dir, path);
-	if (fromenv)
-		*fromenv = 1;
-	return xstrdup(value);
-}
-
 void setup_git_env(void)
 {
-	struct strbuf sb = STRBUF_INIT;
-	const char *gitfile;
 	const char *shallow_file;
 	const char *replace_ref_base;
 
-	git_dir = getenv(GIT_DIR_ENVIRONMENT);
-	if (!git_dir) {
-		if (!startup_info->have_repository)
-			BUG("setup_git_env called without repository");
-		git_dir = DEFAULT_GIT_DIR_ENVIRONMENT;
-	}
-	gitfile = read_gitfile(git_dir);
-	git_dir = xstrdup(gitfile ? gitfile : git_dir);
-	if (get_common_dir(&sb, git_dir))
-		git_common_dir_env = 1;
-	git_common_dir = strbuf_detach(&sb, NULL);
-	git_object_dir = git_path_from_env(DB_ENVIRONMENT, git_common_dir,
-					   "objects", &git_db_env);
-	git_index_file = git_path_from_env(INDEX_ENVIRONMENT, git_dir,
-					   "index", &git_index_env);
-	git_graft_file = git_path_from_env(GRAFT_ENVIRONMENT, git_common_dir,
-					   "info/grafts", &git_graft_env);
 	if (getenv(NO_REPLACE_OBJECTS_ENVIRONMENT))
 		check_replace_refs = 0;
 	replace_ref_base = getenv(GIT_REPLACE_REF_BASE_ENVIRONMENT);
@@ -203,21 +170,21 @@ int is_bare_repository(void)
 int have_git_dir(void)
 {
 	return startup_info->have_repository
-		|| git_dir;
+		|| the_repository->gitdir;
 }
 
 const char *get_git_dir(void)
 {
-	if (!git_dir)
+	if (!the_repository->gitdir)
 		BUG("git environment hasn't been setup");
-	return git_dir;
+	return the_repository->gitdir;
 }
 
 const char *get_git_common_dir(void)
 {
-	if (!git_dir)
+	if (!the_repository->commondir)
 		BUG("git environment hasn't been setup");
-	return git_common_dir;
+	return the_repository->commondir;
 }
 
 const char *get_git_namespace(void)
@@ -273,9 +240,9 @@ const char *get_git_work_tree(void)
 
 char *get_object_directory(void)
 {
-	if (!git_object_dir)
+	if (!the_repository->objectdir)
 		BUG("git environment hasn't been setup");
-	return git_object_dir;
+	return the_repository->objectdir;
 }
 
 int odb_mkstemp(struct strbuf *template, const char *pattern)
@@ -313,22 +280,23 @@ int odb_pack_keep(const char *name)
 
 char *get_index_file(void)
 {
-	if (!git_index_file)
+	if (!the_repository->index_file)
 		BUG("git environment hasn't been setup");
-	return git_index_file;
+	return the_repository->index_file;
 }
 
 char *get_graft_file(void)
 {
-	if (!git_graft_file)
+	if (!the_repository->graft_file)
 		BUG("git environment hasn't been setup");
-	return git_graft_file;
+	return the_repository->graft_file;
 }
 
 int set_git_dir(const char *path)
 {
 	if (setenv(GIT_DIR_ENVIRONMENT, path, 1))
 		return error("Could not set GIT_DIR to '%s'", path);
+	repo_set_gitdir(the_repository, path);
 	setup_git_env();
 	return 0;
 }
diff --git a/path.c b/path.c
index c1cb1cf62..e4abea083 100644
--- a/path.c
+++ b/path.c
@@ -2,6 +2,7 @@
  * Utilities for paths and pathnames
  */
 #include "cache.h"
+#include "repository.h"
 #include "strbuf.h"
 #include "string-list.h"
 #include "dir.h"
@@ -355,7 +356,7 @@ void report_linked_checkout_garbage(void)
 	const struct common_dir *p;
 	int len;
 
-	if (!git_common_dir_env)
+	if (!the_repository->different_commondir)
 		return;
 	strbuf_addf(&sb, "%s/", get_git_dir());
 	len = sb.len;
@@ -374,17 +375,17 @@ void report_linked_checkout_garbage(void)
 static void adjust_git_path(struct strbuf *buf, int git_dir_len)
 {
 	const char *base = buf->buf + git_dir_len;
-	if (git_graft_env && is_dir_file(base, "info", "grafts"))
+	if (is_dir_file(base, "info", "grafts"))
 		strbuf_splice(buf, 0, buf->len,
 			      get_graft_file(), strlen(get_graft_file()));
-	else if (git_index_env && !strcmp(base, "index"))
+	else if (!strcmp(base, "index"))
 		strbuf_splice(buf, 0, buf->len,
 			      get_index_file(), strlen(get_index_file()));
-	else if (git_db_env && dir_prefix(base, "objects"))
+	else if (dir_prefix(base, "objects"))
 		replace_dir(buf, git_dir_len + 7, get_object_directory());
 	else if (git_hooks_path && dir_prefix(base, "hooks"))
 		replace_dir(buf, git_dir_len + 5, git_hooks_path);
-	else if (git_common_dir_env)
+	else if (the_repository->different_commondir)
 		update_common_dir(buf, git_dir_len, NULL);
 }
 
diff --git a/setup.c b/setup.c
index b477faa44..860507e1f 100644
--- a/setup.c
+++ b/setup.c
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "repository.h"
 #include "config.h"
 #include "dir.h"
 #include "string-list.h"
@@ -398,6 +399,11 @@ void setup_work_tree(void)
 	if (getenv(GIT_WORK_TREE_ENVIRONMENT))
 		setenv(GIT_WORK_TREE_ENVIRONMENT, ".", 1);
 
+	/*
+	 * NEEDSWORK: this call can essentially be set_git_dir(get_git_dir())
+	 * which can cause some problems when trying to free the old value of
+	 * gitdir.
+	 */
 	set_git_dir(remove_leading_path(git_dir, work_tree));
 	initialized = 1;
 }
@@ -1108,8 +1114,15 @@ const char *setup_git_directory_gently(int *nongit_ok)
 	 * the user has set GIT_DIR.  It may be beneficial to disallow bogus
 	 * GIT_DIR values at some point in the future.
 	 */
-	if (startup_info->have_repository || getenv(GIT_DIR_ENVIRONMENT))
-		setup_git_env();
+	if (startup_info->have_repository || getenv(GIT_DIR_ENVIRONMENT)) {
+		if (!the_repository->gitdir) {
+			const char *gitdir = getenv(GIT_DIR_ENVIRONMENT);
+			if (!gitdir)
+				gitdir = DEFAULT_GIT_DIR_ENVIRONMENT;
+			repo_set_gitdir(the_repository, gitdir);
+			setup_git_env();
+		}
+	}
 
 	strbuf_release(&dir);
 	strbuf_release(&gitdir);
-- 
2.13.1.704.gde00cce3c-goog
Previous: Brandon WilliamsNext: Brandon Williams
Message 174 of 196 in “repository object”
  1. 00/31 repository objectBrandon Williams, May 31, 2017
  2. 01/31 config: create config.hBrandon Williams, May 31, 2017
  3. 02/31 config: don't include config.h by defaultBrandon Williams, May 31, 2017
  4. 05/31 environment: remove namespace_len variableBrandon Williams, May 31, 2017
  5. Stefan BellerJun 1, 2017
  6. Brandon WilliamsJun 1, 2017
  7. 06/31 repo: introduce the repository objectBrandon Williams, May 31, 2017
  8. Stefan BellerJun 1, 2017
  9. Brandon WilliamsJun 5, 2017
  10. Stefan BellerJun 5, 2017
  11. 03/31 config: don't implicitly use gitdirBrandon Williams, May 31, 2017
  12. Johannes SchindelinJun 8, 2017
  13. Brandon WilliamsJun 8, 2017
  14. Johannes SchindelinJun 8, 2017
  15. Brandon WilliamsJun 8, 2017
  16. 08/31 environment: store worktree in the_repositoryBrandon Williams, May 31, 2017
  17. 13/31 repo: add repo_read_gitmodulesBrandon Williams, May 31, 2017
  18. 11/31 repo: add index_state to struct repoBrandon Williams, May 31, 2017
  19. 07/31 environment: place key repository state in the_repositoryBrandon Williams, May 31, 2017
  20. 12/31 submodule-config: store the_submodule_cache in the_repositoryBrandon Williams, May 31, 2017
  21. 14/31 submodule: convert is_submodule_initialized to work on a repositoryBrandon Williams, May 31, 2017
  22. 16/31 convert: convert crlf_to_git to take an indexBrandon Williams, May 31, 2017
  23. 15/31 convert: convert get_cached_convert_stats_ascii to take an indexBrandon Williams, May 31, 2017
  24. 19/31 convert: convert renormalize_buffer to take an indexBrandon Williams, May 31, 2017
  25. 22/31 ls-files: convert write_eolinfo to take an indexBrandon Williams, May 31, 2017
  26. 21/31 ls-files: convert overlay_tree_on_cache to take an indexBrandon Williams, May 31, 2017
  27. 20/31 tree: convert read_tree to take an index parameterBrandon Williams, May 31, 2017
  28. 18/31 convert: convert convert_to_git to take an indexBrandon Williams, May 31, 2017
  29. 28/31 ls-files: convert show_files to take an indexBrandon Williams, May 31, 2017
  30. 25/31 ls-files: convert show_ru_info to take an indexBrandon Williams, May 31, 2017
  31. 24/31 ls-files: convert show_other_files to take an indexBrandon Williams, May 31, 2017
  32. 30/31 ls-files: factor out tag calculationBrandon Williams, May 31, 2017
  33. 29/31 ls-files: factor out debug info into a functionBrandon Williams, May 31, 2017
  34. 31/31 ls-files: use repository objectBrandon Williams, May 31, 2017
  35. Stefan BellerJun 1, 2017
  36. Brandon WilliamsJun 5, 2017
  37. 23/31 ls-files: convert show_killed_files to take an indexBrandon Williams, May 31, 2017
  38. 27/31 ls-files: convert prune_cache to take an indexBrandon Williams, May 31, 2017
  39. 26/31 ls-files: convert ce_excluded to take an indexBrandon Williams, May 31, 2017
  40. 17/31 convert: convert convert_to_git_filter_fd to take an indexBrandon Williams, May 31, 2017
  41. 10/31 config: migrate the_configset to the_repositoryBrandon Williams, May 31, 2017
  42. 04/31 setup: don't perform lazy initialization of repository stateBrandon Williams, May 31, 2017
  43. Stefan BellerJun 1, 2017
  44. Jeff KingJun 2, 2017
  45. Brandon WilliamsJun 5, 2017
  46. Jeff KingJun 5, 2017
  47. Brandon WilliamsJun 5, 2017
  48. 09/31 setup: add comment indicating a hackBrandon Williams, May 31, 2017
  49. Stefan BellerMay 31, 2017
  50. Brandon WilliamsMay 31, 2017
  51. Brandon WilliamsJun 1, 2017
  52. Stefan BellerJun 1, 2017
  53. Jacob KellerJun 1, 2017
  54. 00/32 repository objectBrandon Williams, Jun 8, 2017
  55. 01/32 config: create config.hBrandon Williams, Jun 8, 2017
  56. 02/32 config: remove git_config_iterBrandon Williams, Jun 8, 2017
  57. 04/32 config: don't implicitly use gitdirBrandon Williams, Jun 8, 2017
  58. Brandon WilliamsJun 12, 2017
  59. 03/32 config: don't include config.h by defaultBrandon Williams, Jun 8, 2017
  60. 05/32 setup: don't perform lazy initialization of repository stateBrandon Williams, Jun 8, 2017
  61. 07/32 repository: introduce the repository objectBrandon Williams, Jun 8, 2017
  62. 0/2 Add a freez() wrapperÆvar Arnfjörð Bjarmason, Jun 9, 2017
  63. 1/2 git-compat-util: add a freez() wrapper around free(x); x = NULLÆvar Arnfjörð Bjarmason, Jun 9, 2017
  64. Christian CouderJun 9, 2017
  65. 2/2 *.[ch] refactoring: make use of the freez() wrapperÆvar Arnfjörð Bjarmason, Jun 9, 2017
  66. Martin ÅgrenJun 9, 2017
  67. Ævar Arnfjörð BjarmasonJun 9, 2017
  68. Brandon WilliamsJun 9, 2017
  69. Brandon WilliamsJun 9, 2017
  70. 0/2 Add a FREEZ() wrapper macroÆvar Arnfjörð Bjarmason, Jun 9, 2017
  71. 1/2 git-compat-util: add a FREEZ() wrapper around free(ptr); ptr = NULLÆvar Arnfjörð Bjarmason, Jun 9, 2017
  72. Jonathan NiederJun 9, 2017
  73. Eric WongJun 9, 2017
  74. Junio C HamanoJun 10, 2017
  75. Eric WongJun 10, 2017
  76. Jeff KingJun 10, 2017
  77. Junio C HamanoJun 15, 2017
  78. Ævar Arnfjörð BjarmasonJun 15, 2017
  79. 0/2 Add a FREE_AND_NULL() wrapper macroÆvar Arnfjörð Bjarmason, Jun 15, 2017
  80. 1/2 git-compat-util: add a FREE_AND_NULL() wrapper around free(ptr); ptr = NULLÆvar Arnfjörð Bjarmason, Jun 15, 2017
  81. 2/2 *.[ch] refactoring: make use of the FREE_AND_NULL() macroÆvar Arnfjörð Bjarmason, Jun 15, 2017
  82. Junio C HamanoJun 15, 2017
  83. Andreas SchwabJun 10, 2017
  84. 2/2 *.[ch] refactoring: make use of the FREEZ() macroÆvar Arnfjörð Bjarmason, Jun 9, 2017
  85. 10/32 setup: add comment indicating a hackBrandon Williams, Jun 8, 2017
  86. 06/32 environment: remove namespace_len variableBrandon Williams, Jun 8, 2017
  87. 09/32 environment: store worktree in the_repositoryBrandon Williams, Jun 8, 2017
  88. 16/32 convert: convert get_cached_convert_stats_ascii to take an indexBrandon Williams, Jun 8, 2017
  89. 14/32 submodule: add repo_read_gitmodulesBrandon Williams, Jun 8, 2017
  90. 19/32 convert: convert convert_to_git to take an indexBrandon Williams, Jun 8, 2017
  91. 22/32 ls-files: convert overlay_tree_on_cache to take an indexBrandon Williams, Jun 8, 2017
  92. 23/32 ls-files: convert write_eolinfo to take an indexBrandon Williams, Jun 8, 2017
  93. 20/32 convert: convert renormalize_buffer to take an indexBrandon Williams, Jun 8, 2017
  94. 15/32 submodule: convert is_submodule_initialized to work on a repositoryBrandon Williams, Jun 8, 2017
  95. 25/32 ls-files: convert show_other_files to take an indexBrandon Williams, Jun 8, 2017
  96. 21/32 tree: convert read_tree to take an index parameterBrandon Williams, Jun 8, 2017
  97. 30/32 ls-files: factor out debug info into a functionBrandon Williams, Jun 8, 2017
  98. 27/32 ls-files: convert ce_excluded to take an indexBrandon Williams, Jun 8, 2017
  99. 32/32 ls-files: use repository objectBrandon Williams, Jun 8, 2017
  100. Brandon WilliamsJun 9, 2017
  101. Junio C HamanoJun 10, 2017
  102. Brandon WilliamsJun 12, 2017
  103. 29/32 ls-files: convert show_files to take an indexBrandon Williams, Jun 8, 2017
  104. 24/32 ls-files: convert show_killed_files to take an indexBrandon Williams, Jun 8, 2017
  105. 26/32 ls-files: convert show_ru_info to take an indexBrandon Williams, Jun 8, 2017
  106. 28/32 ls-files: convert prune_cache to take an indexBrandon Williams, Jun 8, 2017
  107. 17/32 convert: convert crlf_to_git to take an indexBrandon Williams, Jun 8, 2017
  108. 31/32 ls-files: factor out tag calculationBrandon Williams, Jun 8, 2017
  109. 18/32 convert: convert convert_to_git_filter_fd to take an indexBrandon Williams, Jun 8, 2017
  110. 13/32 submodule-config: store the_submodule_cache in the_repositoryBrandon Williams, Jun 8, 2017
  111. 12/32 repository: add index_state to struct repoBrandon Williams, Jun 8, 2017
  112. 08/32 environment: place key repository state in the_repositoryBrandon Williams, Jun 8, 2017
  113. 11/32 config: read config from a repository objectBrandon Williams, Jun 8, 2017
  114. Jonathan TanJun 10, 2017
  115. Jeff KingJun 10, 2017
  116. Jeff KingJun 10, 2017
  117. Brandon WilliamsJun 11, 2017
  118. Jonathan TanJun 12, 2017
  119. Brandon WilliamsJun 11, 2017
  120. Stefan BellerJun 12, 2017
  121. Jeff KingJun 12, 2017
  122. Jonathan TanJun 12, 2017
  123. Brandon WilliamsJun 12, 2017
  124. Jonathan TanJun 12, 2017
  125. Jeff KingJun 12, 2017
  126. 00/20 repository objectBrandon Williams, Jun 20, 2017
  127. 04/20 repository: introduce the repository objectBrandon Williams, Jun 20, 2017
  128. Stefan BellerJun 20, 2017
  129. Brandon WilliamsJun 21, 2017
  130. Stefan BellerJun 21, 2017
  131. Jonathan TanJun 20, 2017
  132. Brandon WilliamsJun 20, 2017
  133. 15/20 repository: add index_state to struct repoBrandon Williams, Jun 20, 2017
  134. Jonathan TanJun 21, 2017
  135. Brandon WilliamsJun 21, 2017
  136. Stefan BellerJun 21, 2017
  137. 02/20 setup: add comment indicating a hackBrandon Williams, Jun 20, 2017
  138. 08/20 path: always pass in commondir to update_common_dirBrandon Williams, Jun 20, 2017
  139. 14/20 config: read config from a repository objectBrandon Williams, Jun 20, 2017
  140. 20/20 ls-files: use repository objectBrandon Williams, Jun 20, 2017
  141. Jonathan TanJun 21, 2017
  142. 16/20 submodule-config: store the_submodule_cache in the_repositoryBrandon Williams, Jun 20, 2017
  143. 18/20 submodule: convert is_submodule_initialized to work on a repositoryBrandon Williams, Jun 20, 2017
  144. 19/20 repository: enable initialization of submodulesBrandon Williams, Jun 20, 2017
  145. Jonathan TanJun 21, 2017
  146. Brandon WilliamsJun 21, 2017
  147. 17/20 submodule: add repo_read_gitmodulesBrandon Williams, Jun 20, 2017
  148. 07/20 path: create path.hBrandon Williams, Jun 20, 2017
  149. 12/20 path: add repo_git_path and strbuf_repo_git_pathBrandon Williams, Jun 20, 2017
  150. 05/20 environment: place key repository state in the_repositoryBrandon Williams, Jun 20, 2017
  151. Jonathan TanJun 20, 2017
  152. 10/20 path: convert do_git_path to take a 'struct repository'Brandon Williams, Jun 20, 2017
  153. Jonathan TanJun 20, 2017
  154. Brandon WilliamsJun 21, 2017
  155. 11/20 path: construct correct path to a worktree's indexBrandon Williams, Jun 20, 2017
  156. Stefan BellerJun 20, 2017
  157. Jonathan NiederJun 20, 2017
  158. Brandon WilliamsJun 21, 2017
  159. Jonathan NiederJun 21, 2017
  160. Jonathan NiederJun 21, 2017
  161. Brandon WilliamsJun 21, 2017
  162. Jonathan NiederJun 21, 2017
  163. Junio C HamanoJun 21, 2017
  164. 06/20 environment: store worktree in the_repositoryBrandon Williams, Jun 20, 2017
  165. 03/20 environment: remove namespace_len variableBrandon Williams, Jun 20, 2017
  166. 01/20 setup: don't perform lazy initialization of repository stateBrandon Williams, Jun 20, 2017
  167. 13/20 path: add repo_worktree_path and strbuf_repo_worktree_pathBrandon Williams, Jun 20, 2017
  168. 09/20 path: convert strbuf_git_common_path to take a 'struct repository'Brandon Williams, Jun 20, 2017
  169. Stefan BellerJun 20, 2017
  170. 00/20 repository objectBrandon Williams, Jun 22, 2017
  171. 01/20 setup: don't perform lazy initialization of repository stateBrandon Williams, Jun 22, 2017
  172. 02/20 setup: add comment indicating a hackBrandon Williams, Jun 22, 2017
  173. 04/20 repository: introduce the repository objectBrandon Williams, Jun 22, 2017
  174. 05/20 environment: place key repository state in the_repositoryBrandon Williams, Jun 22, 2017
  175. 03/20 environment: remove namespace_len variableBrandon Williams, Jun 22, 2017
  176. 09/20 path: convert strbuf_git_common_path to take a 'struct repository'Brandon Williams, Jun 22, 2017
  177. 08/20 path: always pass in commondir to update_common_dirBrandon Williams, Jun 22, 2017
  178. 07/20 path: create path.hBrandon Williams, Jun 22, 2017
  179. 06/20 environment: store worktree in the_repositoryBrandon Williams, Jun 22, 2017
  180. 11/20 path: worktree_git_path() should not use file relocationBrandon Williams, Jun 22, 2017
  181. 16/20 submodule-config: store the_submodule_cache in the_repositoryBrandon Williams, Jun 22, 2017
  182. 10/20 path: convert do_git_path to take a 'struct repository'Brandon Williams, Jun 22, 2017
  183. 18/20 submodule: convert is_submodule_initialized to work on a repositoryBrandon Williams, Jun 22, 2017
  184. 14/20 config: read config from a repository objectBrandon Williams, Jun 22, 2017
  185. 19/20 repository: enable initialization of submodulesBrandon Williams, Jun 22, 2017
  186. 17/20 submodule: add repo_read_gitmodulesBrandon Williams, Jun 22, 2017
  187. 20/20 ls-files: use repository objectBrandon Williams, Jun 22, 2017
  188. 13/20 path: add repo_worktree_path and strbuf_repo_worktree_pathBrandon Williams, Jun 22, 2017
  189. 12/20 path: add repo_git_path and strbuf_repo_git_pathBrandon Williams, Jun 22, 2017
  190. 15/20 repository: add index_state to struct repoBrandon Williams, Jun 22, 2017
  191. Junio C HamanoJun 22, 2017
  192. Brandon WilliamsJun 22, 2017
  193. Junio C HamanoJun 22, 2017
  194. Stefan BellerJun 22, 2017
  195. Jeff HostetlerJun 23, 2017
  196. Junio C HamanoJun 23, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.