title: When building only a subdirectory of a Git repo, Jenkins shows the changes of the whole repo - why?
body: <p>We just migrated to Git, so if I ask stupid questions, please forgive me  :-)</p>
  
  <p>Our Git repo contains several Maven projects, like this</p>
  
  <pre><code>ssh://git@git.whatever.com:7999/foo/foo.git
     bar1
     bar2
  </code></pre>
  
  <p>I have separate Jenkins jobs to build bar1 and bar2. To prevent that a push to bar1 also triggers bar2, I configured the Git plugin in bar2 under <code>Advanced... Included Regions</code> to include only <code>bar2/.*</code> - and vice versa in the bar1 job: <code>bar1/.*</code></p>
  
  <p>This works well, but there's one thing that nags me: The changes within both jobs show all the changes of the repo (bar1 and bar2) instead of just the changes of the specific project.</p>
  
  <p>How can I configure that?</p>
  
  <p>Screenshot:
  <a href="https://i.stack.imgur.com/o0XIN.png" rel="noreferrer"><img src="https://i.stack.imgur.com/o0XIN.png" alt="enter image description here"></a></p>