git may create .orig versions of files when running mergetool. These files then...
commit86b864768532512c06d3fcaa3446a1a591716dd2
authordschuyler <dschuyler@chromium.org>
Wed, 11 Mar 2015 00:21:39 +0000 (10 17:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 11 Mar 2015 00:22:23 +0000 (11 00:22 +0000)
treec0ce63f0e3a222bd03c6290c59aa424baac6240f
parent8f428dbcb4020df7565d0ad0b98da31198eaff50
git may create .orig versions of files when running mergetool.  These files then become suggested additions because they are not ignored by .gitignore.

The ways to handle this are
+ add *.orig to .gitignore
+ change a git config to not generate backup files
+ rm them by hand
+ try to ignore them visually

It can be useful to have a backup of a file in case the merge, um, goes poorly (pilot error, for example).  It's cumbersome to rm them or ignore them visually.

Let's add *.orig to the root .gitignore.

BUG=

Review URL: https://codereview.chromium.org/995153002

Cr-Commit-Position: refs/heads/master@{#320006}
.gitignore