Tree
- Tree:
2a05b2aa9c26d61a4ede1891f128381a1af81517
- Date:
- Message:
- faster vc-got-working-revision invoking `got log' to find the working revision of a file is quite heavy. It takes several seconds to run on some occasions and working in /usr/src is a pain. (usr.bin/diff/diff.c takes _seven_ seconds to get the first log entry.) `got info' instead is quicker since it doesn't have to traverse the history but only parse the fileindex. (usr.bin/diff/diff.c takes one second to compare.) It also avoids an extra `got status' call if the file is added since `got info' succeeds but doesn't print any commit information in that case.
lint.el | commits | blame |