2 directories same spelling one directory is camel cased

2 messages, 2 authors, 2016-10-13 · open the first message on its own page

2 directories same spelling one directory is camel cased

From: David Brown <hidden>
Date: 2016-10-12 16:20:47

Howdy git gurus,

I have the dubious distinction of working with a remote repo (master) 
that has a class loader run-time error when cloned, built and executed.

The reason for the runtime issue is a directory hierarchical path has to 
directories (folders) with the same name spelling but one of the 
directories is camel-cased. The package names are the same.

The compiler doesn't care but the run-time class loader has an issue 
with the 2 'same like named' classes.

How to remove the offending directories and files at the locally cloned 
repo but not push 'deleted' directories and files back to origin/master 
the remote repo?

Please advise.

Regards.

Re: 2 directories same spelling one directory is camel cased

From: Torsten Bögershausen <hidden>
Date: 2016-10-13 16:05:16

On 12.10.16 18:05, David Brown wrote:
Howdy git gurus,

I have the dubious distinction of working with a remote repo (master) that has a class loader run-time error when cloned, built and executed.

The reason for the runtime issue is a directory hierarchical path has to directories (folders) with the same name spelling but one of the directories is camel-cased. The package names are the same.

The compiler doesn't care but the run-time class loader has an issue with the 2 'same like named' classes.

How to remove the offending directories and files at the locally cloned repo but not push 'deleted' directories and files back to origin/master the remote repo?

Please advise.

Regards.
This email did not resolve from here: David Brown [off-list ref]

It is somewhat unclear, which issue the class loader has.
What does 
git ls-files | grep -i "sameNameBitDifferent"
say ?

What do you mean with 
"How to remove the offending directories" ?

Just run
rm -rf "offending directories" ?

Or, may be
git mv dir1 NewDir1

If you don't want to push, you don't have to, or what do I miss ?


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help