Don't lose a sheep for a halfpennyworth of tar : tar is used to mark sheep.

A jack tar ; a sailor.

The 1811 Dictionary of the Vulgar Tongue.