~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/ngit/NGit/NGit/IndexDiff.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
452
452
                /// <returns>list of folders containing only untracked files/folders</returns>
453
453
                public virtual ICollection<string> GetUntrackedFolders()
454
454
                {
455
 
                        return ((indexDiffFilter == null) ? Sharpen.Collections.EmptySet<string>() : new 
 
455
                        return ((indexDiffFilter == null || indexDiffFilter.GetUntrackedFolders ().Count == 0) ? Sharpen.Collections.EmptySet<string>() : new 
456
456
                                HashSet<string>(indexDiffFilter.GetUntrackedFolders()));
457
457
                }
458
458