diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2014-12-02 22:20:42 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2014-12-16 10:08:56 -0600 |
| commit | ee5da720e58f8870e5b6b272ef7514c2a717544a (patch) | |
| tree | 75ae520aeadb77524f976a5c4ad3f474942dd802 /src | |
| parent | a64119e3963fcd358ba914c9e1a81a890666d15a (diff) | |
| download | libgit2-ee5da720e58f8870e5b6b272ef7514c2a717544a.tar.gz | |
reference_create: validate loose names
Validate loose reference names on Win32.
Diffstat (limited to 'src')
| -rw-r--r-- | src/refdb_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refdb_fs.c b/src/refdb_fs.c index 61d1cd56e..fc41a95d7 100644 --- a/src/refdb_fs.c +++ b/src/refdb_fs.c @@ -707,7 +707,7 @@ static int reference_path_available( static int loose_lock(git_filebuf *file, refdb_fs_backend *backend, const char *name) { - int error; + int error; git_buf ref_path = GIT_BUF_INIT; assert(file && backend && name); |
