git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* 2 directories same spelling one directory is camel cased
@ 2016-10-12 16:05 David Brown
  2016-10-13 16:03 ` Torsten Bögershausen
  0 siblings, 1 reply; 2+ messages in thread
From: David Brown @ 2016-10-12 16:05 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2 directories same spelling one directory is camel cased
  2016-10-12 16:05 2 directories same spelling one directory is camel cased David Brown
@ 2016-10-13 16:03 ` Torsten Bögershausen
  0 siblings, 0 replies; 2+ messages in thread
From: Torsten Bögershausen @ 2016-10-13 16:03 UTC (permalink / raw)
  To: git

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 <david@davidwbrown.name>

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 ?




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-13 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-12 16:05 2 directories same spelling one directory is camel cased David Brown
2016-10-13 16:03 ` Torsten Bögershausen

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).