]> arthur.barton.de Git - bup.git/commit
main: treat BUP_FORCE_TTY as bitmap
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 30 Nov 2021 20:20:53 +0000 (21:20 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 5 Dec 2021 20:26:53 +0000 (14:26 -0600)
commit0a3058205aadb2dcbdcfde285bbb82c6b48a9742
tree214814775d0f8388dcb73d7b74e0f68dfa945090
parentd030d9bcf60d548c9397c1c1acdc5d9bf1a14862
main: treat BUP_FORCE_TTY as bitmap

We treat BUP_FORCE_TTY from the environment as a bitmap
all the time, so do the same in main. This requires an
update to one of the tests using it, but otherwise it's
supposed to be internal API, i.e. not documented in the
man page or such.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/main.py
test/ext/test-ls