c6acf574c7
For simplicity, I've not tried to make it handle History yet, so when there is a history, a full import will still be done. Probably the right way to handle history is to first diff from the current tree to the last imported tree. Then, diff from the current tree to each of the historical trees, and recurse through the history diffing from child tree to parent tree. I don't think that will need a record of the previously imported historical trees, and so Logs.Import doesn't store them. Although I did leave room for future expansion in that log just in case. Next step will be to change importTree to importChanges and modify recordImportTree et all to handle it, by using adjustTree. Sponsored-by: Brett Eisenberg on Patreon |
||
---|---|---|
.. | ||
Command | ||
Remote | ||
AutoCorrect.hs | ||
Branch.hs | ||
BuildVersion.hs | ||
CatFile.hs | ||
CheckAttr.hs | ||
CheckIgnore.hs | ||
Command.hs | ||
Config.hs | ||
ConfigTypes.hs | ||
Construct.hs | ||
Credential.hs | ||
CurrentRepo.hs | ||
DiffTree.hs | ||
DiffTreeItem.hs | ||
Env.hs | ||
FileMode.hs | ||
FilePath.hs | ||
FilterProcess.hs | ||
Fsck.hs | ||
GCrypt.hs | ||
HashObject.hs | ||
History.hs | ||
Hook.hs | ||
Index.hs | ||
LockFile.hs | ||
LsFiles.hs | ||
LsTree.hs | ||
Merge.hs | ||
Objects.hs | ||
PktLine.hs | ||
Queue.hs | ||
Quote.hs | ||
Ref.hs | ||
RefLog.hs | ||
Remote.hs | ||
Repair.hs | ||
Sha.hs | ||
Ssh.hs | ||
Status.hs | ||
Tree.hs | ||
Types.hs | ||
UnionMerge.hs | ||
UpdateIndex.hs | ||
Url.hs | ||
Version.hs |