]> granicus.if.org Git - git/commitdiff
Merge branch 'rs/ring-buffer-wraparound'
authorJunio C Hamano <gitster@pobox.com>
Thu, 27 Oct 2016 21:58:49 +0000 (14:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Oct 2016 21:58:49 +0000 (14:58 -0700)
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

1  2 
path.c

diff --cc path.c
Simple merge