spdr870/gitextensions — Issue #735: ArgumentOutOfRangeException in "Format patch" dialog for first commit
Author: evil-shrike
Created: 2011-12-06 12:48:13+00:00
State: open

If I choose the first commit for a patch then ArgumentOutOfRangeException happens.
If I choose any other commits (except the first one) then everything works (a patch is created).

Stack:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at GitUI.FormFormatPatch.FormatPatch_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)