summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-06-23 23:40:02 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2015-06-23 23:40:02 -0400
commit09f3364d7a9fd061e3c624a1f7b118b312fd825c (patch)
treee6689e26bf72a6ae4a9b18f8c9aa2b8cbd2288c2
parentbd670abd23944a20c6a84978ea590c8fd4258cb2 (diff)
parentc8022e6ce7c9fe5e57c69ab8d88c9ed53276fa1b (diff)
downloadlibgit2-09f3364d7a9fd061e3c624a1f7b118b312fd825c.tar.gz
Merge pull request #3131 from urkud/const-char
Add `const` qualifier
-rw-r--r--include/git2/describe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/describe.h b/include/git2/describe.h
index d01a3f74c..3044d9165 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