Commit a7e34e3c854aaed77ede8558ff253716bc4c80a2

Vicent Marti 2011-08-18T02:28:34

transport: Merge bitfield I don't think MSVC merges these automatically.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/transport.h b/src/transport.h
index 69bec4c..94f88c4 100644
--- a/src/transport.h
+++ b/src/transport.h
@@ -46,8 +46,8 @@ struct git_transport {
 	/**
 	 * Whether we want to push or fetch
 	 */
-	int direction : 1; /* 0 fetch, 1 push */
-	int connected : 1;
+	int direction : 1, /* 0 fetch, 1 push */
+		connected : 1;
 	/**
 	 * Connect and store the remote heads
 	 */