]> git.ipfire.org Git - thirdparty/git.git/commit - fetch-pack.h
Use 'unsigned:1' when we mean boolean options
authorShawn O. Pearce <spearce@spearce.org>
Tue, 18 Sep 2007 08:55:00 +0000 (04:55 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Sep 2007 10:22:31 +0000 (03:22 -0700)
commitbbaf4584286657582a92d5bb4038a5a06654ebb1
treeaefd71e09bc788bcff0e5e7b4f6b7dbb0cbc8583
parentab865e6eec1f40938604b1c28a32525c1fdc7227
Use 'unsigned:1' when we mean boolean options

These options are all strictly boolean (true/false).  Its easier to
document this implicitly by making their storage type a single bit.
There is no compelling memory space reduction reason for this change,
it just makes the structure definition slightly more readable.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fetch-pack.h