Show More
@@ -1995,8 +1995,12 b' class gitsubrepo(abstractsubrepo):' | |||
|
1995 | 1995 | if match.always(): |
|
1996 | 1996 | output += self._gitcommand(cmd) + b'\n' |
|
1997 | 1997 | else: |
|
1998 |
st = self.status(node2) |
|
|
1999 | files = [f for sublist in st for f in sublist] | |
|
1998 | st = self.status(node2) | |
|
1999 | files = [ | |
|
2000 | f | |
|
2001 | for sublist in (st.modified, st.added, st.removed) | |
|
2002 | for f in sublist | |
|
2003 | ] | |
|
2000 | 2004 | for f in files: |
|
2001 | 2005 | if match(f): |
|
2002 | 2006 | output += self._gitcommand(cmd + [b'--', f]) + b'\n' |
General Comments 0
You need to be logged in to leave comments.
Login now