Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a7e34e3

Browse files
committed
transport: Merge bitfield
I don't think MSVC merges these automatically.
1 parent 84dd382 commit a7e34e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/transport.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ struct git_transport {
4646
/**
4747
* Whether we want to push or fetch
4848
*/
49-
int direction : 1; /* 0 fetch, 1 push */
50-
int connected : 1;
49+
int direction : 1, /* 0 fetch, 1 push */
50+
connected : 1;
5151
/**
5252
* Connect and store the remote heads
5353
*/

0 commit comments

Comments
 (0)