Re: [PATCH] diff: correct newline in summary for renamed files
- From
Stefan Beller <sbeller@google.com>
- Date
- Sep 27, 2017, 23:57 UTC
- Message-ID
- <CAGZ79kYAzcjECZ0Pt3weyxE0V7J0WCM=M-MvM+HM9DgBDcJQTA@mail.gmail.com>
- In-Reply-To
- <094ebbd4-1bc6-8360-222f-55a4a16a6ca3@ramsayjones.plus.com>
Show 7 quoted lines
>> + GIT_AUTHOR_DATE="2006-06-26 00:06:00 +0000" && >> + GIT_COMMITTER_DATE="2006-06-26 00:06:00 +0000" && >> + export GIT_AUTHOR_DATE GIT_COMMITTER_DATE && >> + git checkout -b mode initial && >> + git update-index --chmod=+x file0 && > > would 'test_chmod +x file0 &&' work here?
That is what I was looking for in my previous solution, this one doesn't care about the on-disk things at all (regarding the mode of files).
So I would argue that test_chmod may be overkill (well we could drop the force flag from the following checkout... not sure if that is a good trade off)