The Old New Thing

Uncategorized

If each thread’s TEB is referenced by the fs selector, does that mean that the 80386 is limited to 1024 threads?

They don't all have to be different simultaneously.

When would CopyFile succeed but produce a file filled with zeroes?

Did the bytes actually make it to the disk?

Why are Bluetooth functions exported from the infrared control panel?

Artifacts of service pack constraints from long ago.

Stupid git commit-tree tricks, Part 7: Combining more than two files into one while preserving line history, manual octopus merging

Sometimes you just have to take things into your own hands.

Stupid git tricks: Combining two files into one while preserving line history

Starting with the two-file case.

Stupid git commit-tree tricks, Part 6: Resetting by reusing an earlier tree

Just take me back.

Stupid git commit-tree tricks, Part 5: Squashing without git rebase

Working completely from trees.

Stupid git commit-tree tricks, Part 4: Changing a squash to a merge

Retroactively removing a command line switch.

Stupid git commit-tree tricks, Part 3: Building a throwaway commit in order to perform a combined cherry-pick-squash

You can create a commit just so you can pick it.

Stupid git commit-tree tricks, Part 2: Building a merge commit manually out of a tree

A variation on a theme.