files_rename_ref(): tidy up whitespace
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
e05806da9e
commit
583643248a
|
@ -2631,7 +2631,7 @@ static int files_rename_ref(struct ref_store *ref_store,
|
||||||
if (!read_ref_full(newrefname, RESOLVE_REF_READING | RESOLVE_REF_NO_RECURSE,
|
if (!read_ref_full(newrefname, RESOLVE_REF_READING | RESOLVE_REF_NO_RECURSE,
|
||||||
sha1, NULL) &&
|
sha1, NULL) &&
|
||||||
delete_ref(newrefname, NULL, REF_NODEREF)) {
|
delete_ref(newrefname, NULL, REF_NODEREF)) {
|
||||||
if (errno==EISDIR) {
|
if (errno == EISDIR) {
|
||||||
struct strbuf path = STRBUF_INIT;
|
struct strbuf path = STRBUF_INIT;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue