diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-05-24 17:43:17 -0700 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-05-24 17:43:17 -0700 |
commit | 4728b55ac66cde7f8c104f0a8cc350d96a530f33 (patch) | |
tree | 3b1fc3f206d156b356b4a342ea94eadad99192f1 /src/diff.c | |
parent | a4452eb1b929b95f69768d398008f6f8844941e4 (diff) | |
parent | 2a99df6909af4c93ce2741ddc5d15a7f52270f28 (diff) | |
download | libgit2-4728b55ac66cde7f8c104f0a8cc350d96a530f33.tar.gz |
Merge pull request #729 from arrbee/fix-728
Fix bugs for status
Diffstat (limited to 'src/diff.c')
-rw-r--r-- | src/diff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/diff.c b/src/diff.c index 0b2f8fb50..90baa9588 100644 --- a/src/diff.c +++ b/src/diff.c @@ -342,6 +342,7 @@ static git_diff_list *git_diff_list_alloc( git_attr_fnmatch *match = git__calloc(1, sizeof(git_attr_fnmatch)); if (!match) goto fail; + match->flags = GIT_ATTR_FNMATCH_ALLOWSPACE; ret = git_attr_fnmatch__parse(match, &diff->pool, NULL, &pattern); if (ret == GIT_ENOTFOUND) { git__free(match); |