I have been using git for several years, and every time you do a merge, git reports some strange conflicts. Here is an example .htaccess file from which I merged into the new Drupal 7.24 kernel version:
# Protect files and directories from prying eyes. <FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig\.save)$"> <<<<<<< HEAD Order allow,deny </FilesMatch> # Hide important scripts from malicious users. <FilesMatch "^(autoinstall\.php|install\.php|update\.php)$"> ======= >>>>>>> 7.24 Order allow,deny </FilesMatch>
How is the conflict here? This is not even a potential case of differences in spaces / ends: in section 7.24 of the conflict there is simply nothing .
Why is git complaining about this? I probably misunderstand something fundamental ...
source share