Random useful developer discovery for postgres development: git's diff.orderFile option. Allows to change the order in which different files appear in diffs.
-
Show this thread
-
I've now set that to src/include/* src/common/* src/port/* config/* src/makefiles/* src/template/* src/backend/* src/fe_utils/* src/bin/* src/interfaces/libpq/* src/pl/* contrib/* src/interfaces/* doc/* src/test/* allowing me to see the "most crucial" (for me) things first.
1 reply 1 retweet 9 likesShow this thread -
I only wish it allowed negative patterns to move individual directories (e.g. tests) to the end, without having to list everything else.
1 reply 0 retweets 5 likesShow this thread -
Replying to @AndresFreundTec
Why would you move tests to the end? Wouldn’t the context of going through the tests along with what they test, make it faster/less context switching?
1 reply 0 retweets 0 likes
The tests I'm talking about here are integration tests, and they're in a separate directory anyway. And their output tends to often be verbose. When reviewing code changes I try to understand the "architecture" of the change first, and tests don't help me much with that.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.