author | Erik Faye-Lund <kusmabite@googlemail.com> | |
Sat, 20 Mar 2010 18:55:28 +0000 (19:55 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 21 Mar 2010 23:23:44 +0000 (16:23 -0700) | ||
commit | 531e758d9c861facd4ebcc8c9b0e4e1443b5665a | |
tree | 0782bcd9e4d0133d3acec2215942bbc9f31c265b | tree | snapshot |
parent | 28a53178fcd3c9a6576b20040982ca0b9e972f42 | commit | diff |
ls: remove redundant logic
find_unique_abbrev() already returns the full SHA-1 if abbrev = 0,
so we can remove the logic that avoids the call.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
find_unique_abbrev() already returns the full SHA-1 if abbrev = 0,
so we can remove the logic that avoids the call.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/ls-files.c | diff | blob | history | |
builtin/ls-tree.c | diff | blob | history |