Merge branch 'rs/ring-buffer-wraparound'
commit00d7cc0c0b324b1b1c75b97d05423a2dc3af70cf
authorJunio C Hamano <gitster@pobox.com>
Thu, 27 Oct 2016 21:58:49 +0000 (27 14:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Oct 2016 21:58:49 +0000 (27 14:58 -0700)
treeda7ccf9ac82d892abf7b745187aa84ff7014f95c
parent65aaa29f7d767acf744796ab47cb3a74dbb1c324
parentbb84735c80dbae6408b79b56f574ae672d2232d4
Merge branch 'rs/ring-buffer-wraparound'

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
path.c