diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2010-05-04 03:03:23 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2010-05-04 03:03:23 +0200 |
commit | 1b2ed3de079632dcf8c0a7b129e81011ae496ac0 (patch) | |
tree | 2dcf7f0d606da66f7191b1c06f5a8640348cad88 | |
parent | 4e1404fe82afab295e8db71b4ffce6883ad16952 (diff) | |
download | patch-1b2ed3de079632dcf8c0a7b129e81011ae496ac0.tar.gz |
Remove left-over debugging code
* src/pch.c (intuit_diff_type): Remove left-over debugging code.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/pch.c | 8 |
2 files changed, 3 insertions, 7 deletions
@@ -1,5 +1,7 @@ 2009-05-04 Andreas Gruenbacher <agruen@suse.de> + * src/pch.c (intuit_diff_type): Remove left-over debugging code. + * src/pch.c (maybe_reverse): Allow to create and delete empty files. (sha1_says_nonexistent): New function for recognizing the sha1 checksums of nonexistent and empty files. @@ -583,14 +583,8 @@ intuit_diff_type (bool need_header, mode_t *p_file_type) { p_says_nonexistent[OLD] = sha1_says_nonexistent (s + 6, u); p_says_nonexistent[NEW] = sha1_says_nonexistent (u + 2, v); - /*printf("p_says_nonexistent[OLD]=%d " - "p_says_nonexistent[NEW]=%d\n", - p_says_nonexistent[OLD], - p_says_nonexistent[NEW]);*/ - if (*(v = skip_spaces (v))) { + if (*(v = skip_spaces (v))) p_mode[OLD] = p_mode[NEW] = fetchmode (v); - //printf("p_mode[]=%06o\n", p_mode[OLD]); - } extended_headers = true; } } |