Revert "[Rails5] Set request.format in commits_controller"
Revert "[Rails5] Set request.format in commits_controller"

This reverts commit 6da19415531e4c40f48df2c604efe51578cea295.

# Conflicts:
#	app/controllers/projects/commits_controller.rb

iiet/iiet-git,iiet/iiet-git,axilleas/gitlabhq,iiet/iiet-git,axilleas/gitlabhq,mmkassem/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,iiet/iiet-git,mmkassem/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq,stoplightio/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq,dreampet/gitlab,stoplightio/gitlabhq,stoplightio/gitlabhq