diff options
| author | Kjetil Barvik <barvik@broadpark.no> | 2009-02-09 21:54:50 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-02-09 20:59:26 -0800 |
| commit | 4857c761e35b07c12ff2ef1140e93b071b8ac4e7 (patch) | |
| tree | 5867ced318f541d8476b20f75125cebe02da9d8b /combine-diff.c | |
| parent | create_directories(): remove some memcpy() and strchr() calls (diff) | |
| download | git-4857c761e35b07c12ff2ef1140e93b071b8ac4e7.tar.gz git-4857c761e35b07c12ff2ef1140e93b071b8ac4e7.zip | |
write_entry(): cleanup of some duplicated code
The switch-cases for S_IFREG and S_IFLNK was so similar that it will
be better to do some cleanup and use the common parts of it.
And the entry.c file should now be clean for 'gcc -Wextra' warnings.
Signed-off-by: Kjetil Barvik <barvik@broadpark.no>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'combine-diff.c')
0 files changed, 0 insertions, 0 deletions
