Re: Git remote helper's fast export options

2018-02-02 Thread Mark Nauwelaerts
On 01/02/18 00:14, Hareesh Rajan wrote: Hi, I use git remote helper to export/import repository content. Git internally uses fast-export command and it seems like the options to detect move and copy (-M/-C) are not being used. Logging this issue requesting a fix to the remote helper to generate

Re: [PATCH 0/2] restore fast-export full filecopy detection

2018-01-07 Thread Mark Nauwelaerts
On 24/12/17 11:52, Mark Nauwelaerts wrote: From: Mark Nauwelaerts <mn...@users.sourceforge.net> When using fast-export/fast-import to interface/bridge with another VCS that explicitly tracks copy/rename as metadata, fast-export's ability to report filecopy/filerename is quite

[PATCH 1/2] fast-export: ensure proper order of modify, copy and rename entries

2017-12-24 Thread Mark Nauwelaerts
From: Mark Nauwelaerts <mn...@users.sourceforge.net> As b3e8ca8 ("fast-export: do not copy from modified file", 2017-09-20) indicates, if a commit both modifies a file and uses it as a source for a copy, then the specifications of git-fast-import require that the copy should b

[PATCH 0/2] restore fast-export full filecopy detection

2017-12-24 Thread Mark Nauwelaerts
From: Mark Nauwelaerts <mn...@users.sourceforge.net> When using fast-export/fast-import to interface/bridge with another VCS that explicitly tracks copy/rename as metadata, fast-export's ability to report filecopy/filerename is quite useful (if not essential). There has been a fix in thi

[PATCH 2/2] fast-export: remove now obsolete filtering of modified files

2017-12-24 Thread Mark Nauwelaerts
From: Mark Nauwelaerts <mn...@users.sourceforge.net> Revert b3e8ca8 ("fast-export: do not copy from modified file", 2017-09-20) partially, since it is not necessary to filter out 'C' commands if the 'M' and 'C' commands are in correct order. The unit test that was added is ke