t / t5100 / patch0017on commit do_one_ref(): save and restore value of current_ref (d0cf51e)
   1diff --git a/foo b/foo
   2index e69de29..d95f3ad 100644
   3--- a/foo
   4+++ b/foo
   5@@ -0,0 +1 @@
   6+New content