Commit 09f3364d7a9fd061e3c624a1f7b118b312fd825c

Edward Thomson 2015-06-23T23:40:02

Merge pull request #3131 from urkud/const-char Add `const` qualifier

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/describe.h b/include/git2/describe.h
index d01a3f7..3044d91 100644
--- a/include/git2/describe.h
+++ b/include/git2/describe.h
@@ -94,7 +94,7 @@ typedef struct {
 	 * If the workdir is dirty and this is set, this string will
 	 * be appended to the description string.
 	 */
-	char *dirty_suffix;
+	const char *dirty_suffix;
 } git_describe_format_options;
 
 #define GIT_DESCRIBE_FORMAT_OPTIONS_VERSION 1