files_rename_ref(): tidy up whitespace
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 6 Jan 2017 16:22:21 +0000 (17:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Jan 2017 03:30:08 +0000 (19:30 -0800)
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>
refs/files-backend.c
index f9023939d5884e0f975d5997336313695e407ca1..be4ffdca243c7853b9863c0c19dadbf79b324aea 100644 (file)
@@ -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,
                           sha1, NULL) &&
            delete_ref(newrefname, NULL, REF_NODEREF)) {
-               if (errno==EISDIR) {
+               if (errno == EISDIR) {
                        struct strbuf path = STRBUF_INIT;
                        int result;