diff options
| author | Vicent Marti <vicent@github.com> | 2014-05-02 09:50:15 -0700 |
|---|---|---|
| committer | Vicent Marti <vicent@github.com> | 2014-05-02 09:50:15 -0700 |
| commit | 272b462db7cfb50c1ab69e1edda214b21f242ae5 (patch) | |
| tree | 13c7a7ef6e7ef1e6d90949e60a3d4677ef9096e4 /include/git2/index.h | |
| parent | 9862ef8ef8ffd95a74be8082acab9fea0de85edb (diff) | |
| parent | 99dfa470398b9c4e06e5a5ee61868d3b9e21b26e (diff) | |
| download | libgit2-272b462db7cfb50c1ab69e1edda214b21f242ae5.tar.gz | |
Merge pull request #2308 from libgit2/rb/diff-update-index-stat-cache
Reduce excessive OID calculation for diff and stat
Diffstat (limited to 'include/git2/index.h')
| -rw-r--r-- | include/git2/index.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/index.h b/include/git2/index.h index 05e58a632..cdb87282c 100644 --- a/include/git2/index.h +++ b/include/git2/index.h @@ -61,7 +61,7 @@ typedef struct git_index_entry { unsigned short flags; unsigned short flags_extended; - char *path; + const char *path; } git_index_entry; /** |
