log: New command that displays the location log for file, showing each repository they were added to and removed from.
This needs to run git log on the location log files to get at all past versions of the file, which tends to be a bit slow. It would be possible to make a version optimised for showing the location logs for every key. That would only need to run git log once, so would be faster, but it would need to process an enormous amount of data, so would not speed up the individual file case. In the future it would be nice to support log --format. log --json also doesn't work right yet.
This commit is contained in:
parent
1f8a1058c9
commit
a3a9f87047
7 changed files with 111 additions and 2 deletions
|
@ -41,6 +41,7 @@ import qualified Command.Lock
|
|||
import qualified Command.PreCommit
|
||||
import qualified Command.Find
|
||||
import qualified Command.Whereis
|
||||
import qualified Command.Log
|
||||
import qualified Command.Merge
|
||||
import qualified Command.Status
|
||||
import qualified Command.Migrate
|
||||
|
@ -85,6 +86,7 @@ cmds = concat
|
|||
, Command.DropUnused.def
|
||||
, Command.Find.def
|
||||
, Command.Whereis.def
|
||||
, Command.Log.def
|
||||
, Command.Merge.def
|
||||
, Command.Status.def
|
||||
, Command.Migrate.def
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue