[llvm-dev] Accidental new top-level monorepo directory
Josh Stone via llvm-dev
llvm-dev at lists.llvm.org
Wed Feb 13 11:21:05 PST 2019
On 2/13/19 6:49 AM, Tom Stellard via llvm-dev wrote:
> On 02/12/2019 10:47 PM, Jonas Devlieghere via llvm-dev wrote:
>> Hi Shoaib,
>>
>> Thanks for pointing this out. I had not idea this happened or that it was even possible to create top level directories in the monorepo. I assumed everything went through git-svn as it did in the past? I removed the directory again in r353913. I agree that it would be great if this wasn't possible at all.
>>
>
> I can look into ways to prevent this from happening. Can you
> give me a little more information on what happened? Did you
> add the 'b' directory while doing development and then accidentally
> commit it or did the monorepo script add it? Did you commit using
> git or svn?
Note that git usually presents diffs as a/path vs. b/path, but new files
compare the old as /dev/null, e.g.
$ git status --short
A foo
$ git diff --cached
diff --git a/foo b/foo
new file mode 100644
index 000000000000..45b983be36b7
--- /dev/null
+++ b/foo
@@ -0,0 +1 @@
+hi
More information about the llvm-dev
mailing list