[Insight-developers] Local pre-commit hook updated (was: Data submodule was reverted again)
Bill Lorensen
bill.lorensen at gmail.com
Wed Jan 26 16:30:14 EST 2011
Looks great.
Thanks
On Wed, Jan 26, 2011 at 2:31 PM, Brad King <brad.king at kitware.com> wrote:
> On 01/26/2011 11:39 AM, Brad King wrote:
>> On 01/26/2011 09:30 AM, Brad King wrote:
>>> On 01/26/2011 09:10 AM, Bradley Lowekamp wrote:
>>>> Are you going to add this as a local commit hook and/or the staging area?
>>>
>>> I'm trying to do both.
>>
>> I got the server-side one working.
>
> I've finished the client-side one. Please update your local hooks.
>
>
> A direct rewind will be rejected with
>
> ===================================================================
> pre-commit hook failure
> -----------------------
>
> This commit would rewind a submodule link:
>
> "Testing/Data" 47e9898 => 55dfde4
>
> from the newer version in HEAD (dc9a8b9). Run
>
> git reset HEAD -- "Testing/Data"
> git submodule update -- "Testing/Data"
>
> to checkout the newer version of the submodule in your work tree.
> Then try the commit again.
> ===================================================================
>
>
> A merge that rewinds with respect to the merged parent will get:
>
> ===================================================================
> pre-commit hook failure
> -----------------------
>
> This commit would rewind a submodule link:
>
> "Testing/Data" bb5bb20 => 47e9898
>
> from the newer version in MERGE_HEAD (4358e33). Run
>
> git reset MERGE_HEAD -- "Testing/Data"
> git submodule update -- "Testing/Data"
>
> to checkout the newer version of the submodule in your work tree.
> Then try the commit again.
> ===================================================================
>
> -Brad K
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
More information about the Insight-developers
mailing list