Simplify a condition in Repository#update_file
Simplify a condition in Repository#update_file

Signed-off-by: Rémy Coutable <4ea0184b9df19e0786dd00b28e6daa4d26baeb3e@rymai.me>

t-zuehlsdorff/gitlabhq,darkrasid/gitlabhq,daiyu/gitlab-zh,daiyu/gitlab-zh,dreampet/gitlab,SVArago/gitlabhq,allysonbarros/gitlabhq,shinexiao/gitlabhq,darkrasid/gitlabhq,iiet/iiet-git,screenpages/gitlabhq,darkrasid/gitlabhq,shinexiao/gitlabhq,darkrasid/gitlabhq,jirutka/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,axilleas/gitlabhq,openwide-java/gitlabhq,axilleas/gitlabhq,dplarson/gitlabhq,allysonbarros/gitlabhq,LUMC/gitlabhq,screenpages/gitlabhq,SVArago/gitlabhq,htve/GitlabForChinese,icedwater/gitlabhq,t-zuehlsdorff/gitlabhq,icedwater/gitlabhq,t-zuehlsdorff/gitlabhq,screenpages/gitlabhq,mmkassem/gitlabhq,t-zuehlsdorff/gitlabhq,axilleas/gitlabhq,screenpages/gitlabhq,SVArago/gitlabhq,openwide-java/gitlabhq,jirutka/gitlabhq,iiet/iiet-git,iiet/iiet-git,htve/GitlabForChinese,LUMC/gitlabhq,dreampet/gitlab,htve/GitlabForChinese,allysonbarros/gitlabhq,shinexiao/gitlabhq,openwide-java/gitlabhq,mmkassem/gitlabhq,allysonbarros/gitlabhq,jirutka/gitlabhq,dreampet/gitlab,daiyu/gitlab-zh,dplarson/gitlabhq,stoplightio/gitlabhq,stoplightio/gitlabhq,jirutka/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq,LUMC/gitlabhq,htve/GitlabForChinese,stoplightio/gitlabhq,iiet/iiet-git,shinexiao/gitlabhq,LUMC/gitlabhq,icedwater/gitlabhq,dplarson/gitlabhq,openwide-java/gitlabhq,SVArago/gitlabhq,dplarson/gitlabhq,mmkassem/gitlabhq,daiyu/gitlab-zh,icedwater/gitlabhq