diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2013-05-13 21:57:37 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2013-05-15 22:41:30 +0200 |
| commit | 1fed6b07f0722c8b4349ff3709a49df3d3c9ae61 (patch) | |
| tree | 2c1b791be59a061bebab3392575a0b90dc323b23 /src/diff_tform.c | |
| parent | f0ab73720a4e7a9b37c901a27519ea65eafeb8a6 (diff) | |
| download | libgit2-1fed6b07f0722c8b4349ff3709a49df3d3c9ae61.tar.gz | |
Fix trailing whitespaces
Diffstat (limited to 'src/diff_tform.c')
| -rw-r--r-- | src/diff_tform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/diff_tform.c b/src/diff_tform.c index 201a0e896..e88525654 100644 --- a/src/diff_tform.c +++ b/src/diff_tform.c @@ -178,7 +178,7 @@ int git_diff_find_similar__hashsig_for_file( GIT_UNUSED(f); error = git_hashsig_create_fromfile((git_hashsig **)out, path, opt); - + if (error == GIT_EBUFS) { error = 0; giterr_clear(); @@ -195,7 +195,7 @@ int git_diff_find_similar__hashsig_for_buf( GIT_UNUSED(f); error = git_hashsig_create((git_hashsig **)out, buf, len, opt); - + if (error == GIT_EBUFS) { error = 0; giterr_clear(); @@ -437,7 +437,7 @@ static int similarity_measure( return -1; if (!cache[b_idx] && similarity_calc(diff, opts, b_idx, cache) < 0) return -1; - + /* some metrics may not wish to process this file (too big / too small) */ if (!cache[a_idx] || !cache[b_idx]) return 0; |
