Ok, makes sense, but what is the workflow like, then? Would one close the bug along with the fix to the code, or...?
I dont automatically close tickets on commits - since our workflow is commits get reviewed before closing an item- but it is straight forward to write a small few line script to do this if thats your workflow.