title: confusion about git rev-list
body: <p>I want to know the related commit-id with the 100 submit in branch  <code>dev</code>. (for example: <code>git rev-list --reverse --branches=dev --date-order --count &lt;commit-id&gt; == 100</code>):</p>
  
  <p>And got the 100 commit is <code>1f345e80fba518c72dec7f2e02da5da12be5810f</code>:</p>
  
  <pre><code>$ git rev-list --reverse --branches=dev --date-order HEAD | head -100 | tail -1
  1f345e80fba518c72dec7f2e02da5da12be5810f
  
  $ git rev-list --reverse --branches=dev --date-order HEAD | nl | grep 100
     100  1f345e80fba518c72dec7f2e02da5da12be5810f
  
  $ git rev-list --reverse --branches=dev --date-order HEAD | awk '{print NR"\t"$0}' | grep -E ^100
  100     1f345e80fba518c72dec7f2e02da5da12be5810f
  </code></pre>
  
  <p>However, when I try to verify the rev-number about this commit-id (<code>1f345e80fba518c72dec7f2e02da5da12be5810f</code>), the result shows: rev number is <strong>98</strong>!!!</p>
  
  <pre><code>$ git rev-list --reverse --branches=dev --date-order --count 1f345e80fba518c72dec7f2e02da5da12be5810f
  98
  
  $ git rev-list --reverse --branches=dev --date-order 1f345e80fba518c72dec7f2e02da5da12be5810f | nl | tail -1
      98  1f345e80fba518c72dec7f2e02da5da12be5810f
  </code></pre>
  
  <p>So I try to find out which 2 commit is missing:</p>
  
  <pre><code>$ git rev-list --reverse --branches=dev --date-order HEAD | head -100 | nl &gt; commit-100.log
  $ git rev-list --reverse --branches=dev --date-order 1f345e80fba518c72dec7f2e02da5da12be5810f | head -100 | nl &gt; commit-98.log
  $ diff -y commit-100.log commit-98.log
   90  63546ce0207cdd6ade353ea05c466d0210af1d29              |     90  75a8fd85043908049e11595aaa2c988282fa1a0c
   91  75a8fd85043908049e11595aaa2c988282fa1a0c              |     91  c1bbb33cd0241c16dde2579696c08ed2eb146cdf
   92  c1bbb33cd0241c16dde2579696c08ed2eb146cdf              |     92  28e9bbc06cb3036bce4cce71f5acf4b27835e9a0
   93  28e9bbc06cb3036bce4cce71f5acf4b27835e9a0              |     93  7b1d0caddc6218eb982d27c1df27c885bc84204c
   94  7b1d0caddc6218eb982d27c1df27c885bc84204c              |     94  945fd63a256391e72e55e8ac98c449c1473c1e5e
   95  945fd63a256391e72e55e8ac98c449c1473c1e5e              |     95  0ff3f47eb8dc40815ac7effdb2172e5d69dd0e10
   96  0ff3f47eb8dc40815ac7effdb2172e5d69dd0e10              |     96  ac90a7b2a371ff7a0fad0475d94691663aceaa1b
   97  ac90a7b2a371ff7a0fad0475d94691663aceaa1b              |     97  1a0e26b517f88870fed0cf5f346495b67c29463a
   98  937807239dd706f3bf124dd4d3266c71fd8071f4              |     98  1f345e80fba518c72dec7f2e02da5da12be5810f
   99  1a0e26b517f88870fed0cf5f346495b67c29463a              &lt;
  100  1f345e80fba518c72dec7f2e02da5da12be5810f              &lt;
  </code></pre>
  
  <p>Apparent, the 2 <em>missing</em> commit-id is:</p>
  
  <pre><code>90  63546ce0207cdd6ade353ea05c466d0210af1d29
  98  937807239dd706f3bf124dd4d3266c71fd8071f4
  </code></pre>
  
  <p>According to <code>git show &lt;commit-id&gt;</code>, and nothing strange. These two commits was submitted by the same guy. But this person committed 10 times in the first 100 commits.</p>
  
  <p>Does it a <code>git rev-list</code> issue?</p>