Thread (10 messages) flat view 10 messages, 2 authors, 2016-06-15

Re: [PATCH 2/2] git-p4: Add copy detection support

From: Vitor Antunes <hidden>
Date: 2016-06-15 22:50:30

Hi Pete,

On Sun, Feb 6, 2011 at 12:25 AM, Pete Wyckoff [off-list ref] wrote:
You can use integrate -t to force the filetype even if the file
already existed, and skip the whole execbit change.
(Copying help text:
	The -t flag makes the source file's filetype propagate to the target
	file.  Normally, the target file retains its previous filetype.
	Newly branched files always use the source file's filetype.  The
	filetype can still be changed before 'p4 submit' with 'p4 reopen'.
)

Since in git we're only considering newly branched files, I think in
this case "-t" will not add anything. In fact, what is being done here
is detecting exec bit changes from source to target files - we're not
trying to force P4 to use the source's exec bit. Do you agree?

Kind regards,
-- 
Vitor Antunes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help