Commit Graph

16 Commits

Author SHA1 Message Date
brian m. carlson
cc815f59e6
Use proper repo permissions when creating directories
Honor the repository permssions set with the umask or
core.sharedRepository when creating directories by using tools.MkdirAll.
Pass an appropriate configuration or filesystem object through as needed
to ensure that we can query the proper permissions. Add a test that
these code paths work by cloning a new repository and then performing
some operations on it.

Note that in the test, we match patterns with either the setgid bit
clear or set, since it may be set or not depending on whether the system
has SysV or BSD group semantics.
2018-12-13 17:51:02 +00:00
Taylor Blau
12dc6dd88b tq/meter: introduce tq.Direction.Verb 2018-06-08 15:47:52 -05:00
Taylor Blau
6909634d0e tq: prevent uint64 underflow with invalid API response 2018-03-06 16:39:04 -08:00
Jeff Walter
9224bb1686 Issue #2879: Move int64 declarations back to the top of the Meter strut for proper memory alignment. 2018-02-24 11:36:01 -06:00
Taylor Blau
cf8d827ecb tq/meter: move "now" assignment after nullity check 2018-01-17 14:32:16 -08:00
Taylor Blau
db4e3b271d tq: new progress meter formatting 2018-01-05 18:43:31 -08:00
Taylor Blau
c848d52b92 tq/meter: keep direction in meter 2018-01-05 18:30:45 -08:00
Taylor Blau
833adb0bb7 tq/meter: keep track of average transfer rate 2018-01-05 18:30:43 -08:00
rick olson
bcc2868d6a tq: Meter update() accepts a force arg now 2018-01-04 18:10:00 -07:00
rick olson
d7bb577ac5 tq: skip empty updates 2018-01-04 14:02:34 -07:00
rick olson
f1cc1af318 tq: Meter flushes should never be throttled. 2018-01-04 12:24:02 -07:00
rick olson
8c59efb1e5 tq: TransferQueue flushes, but does not close the Meter 2018-01-04 11:49:41 -07:00
rick olson
66989c94ca tq: remove MeterOptions in favor of fields 2017-12-07 15:13:11 -07:00
rick olson
eec39f073e tq: kill dead Meter option funcs 2017-12-07 14:57:33 -07:00
rick olson
92ec7ede00 tq: change tq.Meter receiver var name 2017-12-07 14:44:19 -07:00
Taylor Blau
54fb383f3a progress,tq: move *progress.Meter to *tq.Meter 2017-11-29 11:19:22 -08:00