Reputation: 7401
I'd like to be able to find the number of files in a Git repository at a given revision, preferably without having to check out the revision first.
I thought git ls-files
might get me somewhere, but I'm not able to see any way of passing Git a revision for it.
Thanks in advance!
Upvotes: 5
Views: 2042