Commit 508361401fbb5d87118045eaeae3356a729131aa

Edward Thomson 2021-03-20T10:10:05

Merge pull request #5821 from punkymaniac/example-duplicate-line 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);
 }