Commit 678c9ddf87e569758efafcb69ac844eb47255bb3

Colin Stolley 2022-01-13T17:22:13

Update src/refdb_fs.c Co-authored-by: Edward Thomson <ethomson@github.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index 2a80337..6b79073 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -457,7 +457,7 @@ static char *packed_set_peeling_mode(
         refdb_fs_backend *backend)
 {
 	static const char *traits_header = "# pack-refs with:";
-	const char *eol;
+	char *eol;
 	backend->peeling_mode = PEELING_NONE;
 
 	if (data_sz == 0 || *data != '#') {