Re: How to fix (and find) many git-* --check errors?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Valdemar <4ux6as402@...>
Cc: <git@...>
Date: Friday, August 8, 2008 - 9:28 am

On 2008.08.08 14:49:00 +0200, "Peter Valdemar Mørch (Lists)" wrote:

I'd probably do something like:

# Create a commit with an empty tree
rm .git/index
git commit -m tmp

rm -r * (include dotfiles if required, ie. remove all tracked files)

git diff -R HEAD^ | git apply --index --whitespace=fix
git commit --amend -m "Whitespace fixed up"

But probably there's some smarter way than that.

Björn
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How to fix (and find) many git-* --check errors?, "Peter Valdemar Mørch (Lists)"..., (Fri Aug 8, 8:49 am)
Re: How to fix (and find) many git-* --check errors?, Junio C Hamano, (Fri Aug 8, 3:27 pm)
Re: How to fix (and find) many git-* --check errors?, "Peter Valdemar Mørch (Lists)"..., (Sat Aug 9, 3:28 am)
Re: How to fix (and find) many git-* --check errors?, "Peter Valdemar Mørch (Lists)"..., (Fri Aug 8, 10:57 am)
Re: How to fix (and find) many git-* --check errors?, Björn, (Fri Aug 8, 9:28 am)