Commit 8f52b0c55316f10cdeb8aaa5a69b36d30d44e834

punkymaniac 2021-03-17T10:48:17

Remove duplicate line, in example code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/examples/general.c b/examples/general.c
index 1622ff8..5da2b6f 100644
--- a/examples/general.c
+++ b/examples/general.c
@@ -158,11 +158,6 @@ static void oid_parsing(git_oid *oid)
 	 * If you have a oid, you can easily get the hex value of the SHA as well.
 	 */
 	git_oid_fmt(out, oid);
-
-	/**
-	 * If you have a oid, you can easily get the hex value of the SHA as well.
-	 */
-	git_oid_fmt(out, oid);
 	printf("SHA hex string: %s\n", out);
 }