Merge branch 'rs/ring-buffer-wraparound' into maint
commitf2ad912f996d2f21a8e6bccc10c2d3ef7acbf3ea
authorJunio C Hamano <gitster@pobox.com>
Tue, 29 Nov 2016 21:27:55 +0000 (29 13:27 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Nov 2016 21:27:55 +0000 (29 13:27 -0800)
treeddd478a6e752b491093c37921a5848d38dd32e39
parenta3f2781dd0c295b5be2c0b42776f806d4f40df05
parentbb84735c80dbae6408b79b56f574ae672d2232d4
Merge branch 'rs/ring-buffer-wraparound' into maint

The code that we have used for the past 10+ years to cycle
4-element ring buffers turns out to be not quite portable in
theoretical world.

* rs/ring-buffer-wraparound:
  hex: make wraparound of the index into ring-buffer explicit