diff mbox series

[1/3] object-name: fix whitespace

Message ID 689eb69554480343b9f6db15ee6bef2c505717ad.1728331771.git.code@khaugsbakk.name (mailing list archive)
State New
Headers show
Series object-name: don't allow @ as a branch name | expand

Commit Message

Kristoffer Haugsbakk Oct. 7, 2024, 8:15 p.m. UTC
Fix double newlines according to `clang format`.

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
---
 object-name.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/object-name.c b/object-name.c
index c892fbe80aa..42e3ba4a77a 100644
--- a/object-name.c
+++ b/object-name.c
@@ -482,7 +482,6 @@  static int show_ambiguous_object(const struct object_id *oid, void *data)
 		strbuf_addf(sb, _("%s blob"), hash);
 	}
 
-
 out:
 	/*
 	 * TRANSLATORS: This is line item of ambiguous object output
@@ -1965,7 +1964,6 @@  static void diagnose_invalid_index_path(struct repository *r,
 	strbuf_release(&fullname);
 }
 
-
 static char *resolve_relative_path(struct repository *r, const char *rel)
 {
 	if (!starts_with(rel, "./") && !starts_with(rel, "../"))