git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Subject: [PATCH] config: mark a file-local symbol as static
@ 2017-06-15  1:20 Ramsay Jones
  2017-06-17 21:40 ` Sahil Dua
  0 siblings, 1 reply; 3+ messages in thread
From: Ramsay Jones @ 2017-06-15  1:20 UTC (permalink / raw)
  To: sahildua2305; +Cc: Junio C Hamano, GIT Mailing-list


Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---

Hi Sahil,

If you need to re-roll your 'sd/branch-copy' branch, could you please
squash this into the relevant patch (commit 37af9c71b6, "config: create
a function to format section headers", 13-06-2017).

Also, I note that another patch in that branch (commit fd44da469c,
"branch: add a --copy (-c) option to go with --move (-m)", 13-06-2017),
adds a couple of external symbols which, currently, don't need to be
externally visible. Is it intended that git_config_copy_section_in_file()
and refs_copy_existing_ref() be part of the public API?

Thanks!

ATB,
Ramsay Jones

 config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.c b/config.c
index 2996e6d56..fbba17483 100644
--- a/config.c
+++ b/config.c
@@ -2173,7 +2173,7 @@ static int write_error(const char *filename)
 	return 4;
 }
 
-struct strbuf store_create_section(const char *key)
+static struct strbuf store_create_section(const char *key)
 {
 	const char *dot;
 	int i;
-- 
2.13.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-17 22:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-15  1:20 Subject: [PATCH] config: mark a file-local symbol as static Ramsay Jones
2017-06-17 21:40 ` Sahil Dua
2017-06-17 22:00   ` Sahil Dua

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).