lodato added a comment.
Sorry, I have been very busy with other work so I haven't had a chance to
follow along. (I don't work on LLVM team - I just contributed this script.)
I'll try to carve out some time to review within the next week.
Repository:
rL LLVM
https://reviews.llvm.org/D15465
lodato created this revision.
lodato added reviewers: djasper, klimek.
This feature had never worked at all because the code incorrectly used
<`commit2>` for both the "old" and "new", so the diff was always empty! Now we
correctly use `` where we should and it works fine.
https://reviews.llvm.
lodato created this revision.
lodato added reviewers: djasper, klimek.
This makes the code a bit easier to understand. Also add a docstring to `run()`.
Note: This means that we read the entire index into memory when calling `git
update-index`, whereas previously we would send the data line-by-li
lodato added a comment.
Actually the old code might have been working fine. Please hold off on
reviewing.
https://reviews.llvm.org/D41129
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
lodato added a comment.
Yeah, I was incorrect. The feature worked fine. I don't know what I was
thinking.
https://reviews.llvm.org/D41129
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
lodato created this revision.
lodato added reviewers: djasper, klimek, Alexander-Shukaev.
The only user-visible change is rewriting of the --help message to make the
different modes more clear.
Internally, this is a significant refactoring to make the source and
destination of the diff to be mo
lodato created this revision.
lodato added reviewers: djasper, klimek, Alexander-Shukaev.
This new mode, which requires --diff, operates very similarly to the two
mode, except that the stage is formatted instead of the second commit.
The main intent of this feature is to use in pre-commit hooks
lodato added a comment.
I think the simplest solution to those problems is to require `--diff`. An
alternative is to write the changes directly to the index without touching the
working directory, but that would require some flag because the behavior is
unintuitive, and the implementation would
lodato added a comment.
Oh, and I meant to start with: I'm so sorry for the extremely long delay. I was
swamped with work before then I forgot about this. Please know that I
appreciate your effort here and that I didn't mean to blow you off.
Best regards, Mark
Repository:
rL LLVM
https://r
lodato updated this revision to Diff 126792.
lodato added a comment.
Re-add check for `len(commits) > 2`.
https://reviews.llvm.org/D41145
Files:
google3/third_party/llvm/llvm/tools/clang/tools/clang-format/git-clang-format
Index: google3/third_party/llvm/llvm/tools/clang/tools/clang-format/g
lodato added a comment.
Oops! Fixed. Thanks for catching this!
https://reviews.llvm.org/D41145
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
lodato updated this revision to Diff 126793.
lodato added a comment.
Update after change to https://reviews.llvm.org/D41145 that fixed `len(commits)
> 2` case.
https://reviews.llvm.org/D41147
Files:
google3/third_party/llvm/llvm/tools/clang/tools/clang-format/git-clang-format
Index: google3
lodato accepted this revision.
lodato added a comment.
This revision is now accepted and ready to land.
Oops, I'm sorry. I meant to test it but ran out of time and then forgot to
click approve. My apologies.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm
lodato resigned from this revision.
lodato removed a reviewer: lodato.
lodato added a comment.
I know nothing about the C++ code. I only know the git-clang-format script.
https://reviews.llvm.org/D27377
___
cfe-commits mailing list
cfe-commits@lists
lodato requested changes to this revision.
lodato added a comment.
This revision now requires changes to proceed.
Thanks for pushing this through, @ortogonal! The change LGTM, except the two
minor issues listed.
Name: Mark Lodato
Email: lod...@google.com
Comment at: clang/too
15 matches
Mail list logo