title: Git bash-completion with filename support?
body: <p>is there a bash-completion script that supports filename completion? I use mostly mercurial and there I can type:</p>
  
  <pre><code>hg diff test/test_&lt;tab&gt;
  </code></pre>
  
  <p>and it will show/complete all modified test files. It works for most subcommands, i.e. <code>hg add &lt;tab&gt;&lt;tab&gt;</code> will only list untracked files. It is really handy.</p>
  
  <p>The bash script from git contrib seams to not support this. Are there any alternatives, or how do you work with git on the command line?</p>
  
  <p><strong>Edit 2015</strong></p>
  
  <p><code>git-completion.bash</code> supports full filename completion since <a href="https://github.com/git/git/commit/fea16b47b603e7e4fa7fca198bd49229c0e5da3d" rel="nofollow">~1.8.2</a></p>