Re: [lldb-dev] Xcode project creates too many diffs if I just add or remove a file...

2018-07-24 Thread Greg Clayton via lldb-dev
That would be great, thanks. > On Jul 23, 2018, at 4:21 PM, Jason Molenda wrote: > > Yeah, I wrote the script to accept stdin or a filename argument, and print > its results. I'll fix it to hardcode looking for > lldb.xcodeproj/project.pbxproj or project.pbxproj in cwd and update it in > pl

Re: [lldb-dev] Xcode project creates too many diffs if I just add or remove a file...

2018-07-23 Thread Jason Molenda via lldb-dev
Yeah, I wrote the script to accept stdin or a filename argument, and print its results. I'll fix it to hardcode looking for lldb.xcodeproj/project.pbxproj or project.pbxproj in cwd and update it in place. > On Jul 23, 2018, at 3:37 PM, Raphael “Teemperor” Isemann > wrote: > > That’s just ho

Re: [lldb-dev] Xcode project creates too many diffs if I just add or remove a file...

2018-07-23 Thread Raphael “Teemperor” Isemann via lldb-dev
That’s just how IO redirection works in sh. But I agree that the expected default behavior is to just overwrite the file without having to redirect any streams/tmp files (+ Jason because he probably can easily fix this). - Raphael > On Jul 23, 2018, at 3:24 PM, Greg Clayton wrote: > > The scr

Re: [lldb-dev] Xcode project creates too many diffs if I just add or remove a file...

2018-07-23 Thread Greg Clayton via lldb-dev
The script will nuke the project.pbxproj file you do: ../scripts/sort-pbxproj.rb > project.pbxproj So it seems you must do: ../scripts/sort-pbxproj.rb > project.pbxproj2 mv project.pbxproj2 project.pbxproj Is this expected?? > On Jul 23, 2018, at 3:07 PM, Raphael “Teemperor” Isemann > wrote:

Re: [lldb-dev] Xcode project creates too many diffs if I just add or remove a file...

2018-07-23 Thread Raphael “Teemperor” Isemann via lldb-dev
See Jason’s email from two weeks ago: > I didn't intend for it, but when you add a file to the xcode project file, > Xcode will reorder all the currently-sorted files and we'll get all the same > merge conflicts we've had for the past couple years again. > We could either back out my sorting of

[lldb-dev] Xcode project creates too many diffs if I just add or remove a file...

2018-07-23 Thread Greg Clayton via lldb-dev
Anyone know if something has happened to the Xcode project file? Did someone sort or try to manually do something to the Xcode project? If I add or remove a file, then I end up with 1000s of diffs... Greg ___ lldb-dev mailing list lldb-dev@lists.llvm.