/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/git/tree.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 20:49:22 UTC
  • mfrom: (7143.17.2 git-grep)
  • Revision ID: breezy.the.bot@gmail.com-20181116204922-ugjqw2me45bxw41h
Fix 'bzr grep' in git working trees.

Merged from https://code.launchpad.net/~jelmer/brz/git-grep/+merge/358605

Show diffs side-by-side

added added

removed removed

Lines of Context:
394
394
    def list_files(self, include_root=False, from_dir=None, recursive=True):
395
395
        if self.tree is None:
396
396
            return
397
 
        if from_dir is None:
 
397
        if from_dir is None or from_dir == '.':
398
398
            from_dir = u""
399
399
        (store, mode, hexsha) = self._lookup_path(from_dir)
400
400
        if mode is None:  # Root