summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-08-18 02:28:34 +0200
committerVicent Marti <tanoku@gmail.com>2011-08-18 02:35:28 +0200
commita7e34e3c854aaed77ede8558ff253716bc4c80a2 (patch)
treec79eeb0a0577a1ddc1a705c03df98cc1d9b61ded
parent84dd3820d41046d35cb8b3bf65e67d0eb7e68f6c (diff)
downloadlibgit2-a7e34e3c854aaed77ede8558ff253716bc4c80a2.tar.gz
transport: Merge bitfield
I don't think MSVC merges these automatically.
-rw-r--r--src/transport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport.h b/src/transport.h
index 69bec4c66..94f88c4bd 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
*/