On Sun, Mar 30, 2014 at 01:40:47AM -0700, Ryan Faulkner wrote:
> > +        'add': [],
> > +        'delete': [],
> > +        'modify': [],
> > +    }
> > +    for change in list(tree_changes(r, r['HEAD'].tree,
> > +                                     index.commit(r.object_store))):
> > +        if change.type == 'add':
> > +            tracked_changes['add'].append(change.new.path)
> > +        elif change.type == 'delete':
> > +            tracked_changes['delete'].append(change.old.path)
> > +        elif change.type == 'modify':
> > +            tracked_changes['modify'].append(change.old.path)
> > +    return tracked_changes
> > +
> > +
> > +def _get_git_ignore_rules(repo):
> 
> I agree.  In the note for this request I mention something to the same effect.  Where do you think the appropriate module for this functionality should be?

It probably deserves its own module, considering the complexity of
ignore files.

Cheers,

Jelmer