#239 open
Martin Doktár

Stage line fails for some reason

Reported by Martin Doktár | March 1st, 2010 @ 03:23 PM | in 0.8

I can't get "Stage line" to work. I use git version 1.6.6.1 on Mac OS X 10.6.2 and gitx 0.7.1

Here is a demo of what happens:

http://screenr.com/DMh

Is there any error log I can attach this ticket?

Comments and changes to this ticket

  • ThorQue

    ThorQue April 18th, 2010 @ 09:05 PM

    • Assigned user set to “Pieter de Bie”

    This error occurs at my GitX, too. Clicking on Stage Line does nothing :(

  • Johannes Gilger

    Johannes Gilger September 12th, 2010 @ 08:30 PM

    • Milestone set to 0.8
    • State changed from “new” to “open”
    • Milestone order changed from “0” to “0”

    Is this limited to special cases or repositories? Any chance you could share one of these repositories?

    This bug is hard to reproduce. I tried with a file with the same content like in the video and it worked fine for me.

  • Jason Schock

    Jason Schock September 16th, 2010 @ 04:36 AM

    • Assigned user cleared.

    I'm having the same problem. Stage lines doesn't seem to work at all. It definitely seems to be repository-related for me. I can create a fresh repos, copy the file over from my old repos that doesn't work with stage lines, and then "Stage lines" works fine.

    Here are some errors from the Mac console, if it's any help:

    9/15/10 7:19:06 PM   [0x0-0x218218].nl.frim.GitX[14824]  fatal: corrupt patch at line 28
    9/15/10 7:19:06 PM  GitX[14824] Error: 
    9/15/10 7:19:15 PM  [0x0-0x218218].nl.frim.GitX[14824]  fatal: corrupt patch at line 28
    9/15/10 7:19:15 PM  GitX[14824] Error: 
    9/15/10 7:19:31 PM  [0x0-0x218218].nl.frim.GitX[14824]  fatal: corrupt patch at line 37
    9/15/10 7:19:31 PM  GitX[14824] Error: 
    9/15/10 7:19:54 PM  [0x0-0x218218].nl.frim.GitX[14824]  <stdin>:31: trailing whitespace.
    9/15/10 7:19:54 PM  [0x0-0x218218].nl.frim.GitX[14824]                  #scCreateNewButton("Get This Deal" {"class":"blue", "onclick":"window.open('${dealUrl}')"})  
    9/15/10 7:19:54 PM  [0x0-0x218218].nl.frim.GitX[14824]  fatal: corrupt patch at line 37
    9/15/10 7:19:54 PM  GitX[14824] Error: 
    9/15/10 7:20:00 PM  [0x0-0x218218].nl.frim.GitX[14824]  <stdin>:21: trailing whitespace.
    9/15/10 7:20:00 PM  [0x0-0x218218].nl.frim.GitX[14824]                  #scCreateNewButton("Get This Deal" {"class":"blue", "onclick":"window.open('${dealUrl}')"})  
    9/15/10 7:20:00 PM  [0x0-0x218218].nl.frim.GitX[14824]  fatal: corrupt patch at line 26
    9/15/10 7:20:00 PM  GitX[14824] Error: 
    9/15/10 7:20:03 PM  [0x0-0x218218].nl.frim.GitX[14824]  fatal: corrupt patch at line 26
    9/15/10 7:20:03 PM  GitX[14824] Error:
    
  • Jason Schock

    Jason Schock September 16th, 2010 @ 04:37 AM

    • Assigned user set to “Pieter de Bie”

    Oops, sorry.

  • Jono

    Jono October 29th, 2010 @ 11:22 PM

    This happens to me often in multiple repos, but I'm afraid I can't share my repos :-/ It's only specific files though.

  • Jono

    Jono October 29th, 2010 @ 11:25 PM

    It fails in git gui too. So maybe it's not a GitX issue after all?

  • lpalli

    lpalli November 20th, 2010 @ 07:05 PM

    I've a similar problem:

    <stdin>:7: trailing whitespace.
    // Constructor
    <stdin>:8: trailing whitespace.
    var WGS1984_CH1903 = function () {};
    <stdin>:9: trailing whitespace.
    
    <stdin>:10: trailing whitespace.
    // Version of this library
    <stdin>:11: trailing whitespace.
    WGS1984_CH1903.VERSION = "0.0.1";
    error: patch failed: wgs84_ch1903.js:1
    error: wgs84_ch1903.js: patch does not apply
    2010-11-20 19:02:35.853 GitX[99963:903] Error:
    

    Any idea how to solve it ?

  • lpalli

    lpalli November 20th, 2010 @ 07:34 PM

    I convert the file to UTF-8 and LF (line feed) and now I can use "Stage line".
    I think that the problem is the previous CRLF.

  • Jhon saq

    Jhon saq December 23rd, 2019 @ 10:39 AM

    I also Face this error in my version and there is no solution i think this will appear everty time and this error never resolve.. See More

  • skywebppc (at gmail)

    skywebppc (at gmail) December 30th, 2019 @ 04:00 PM

    i-LEND is an online marketplace connecting borrowers and lenders for loans. Although i-LEND verifies credentials of registered users on the site, it does not guarantee any loan offers by lenders nor does it guarantee any repayments by borrowers. Users make offers/loan requests at their own discretion with the understanding of the risks involved in such transactions including loss of entire capital and/or no guarantee of recovery. Please read our Legal agreements to understand more.

    online loans Personal Loans Online Money Invest P2P

  • saiama

    saiama February 8th, 2021 @ 02:52 PM

    This is a great blog. I like the way you express the information to us. Thanks for such a post and please keep it up. w88ok

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

GitX is the nice-looking gitk clone for OS X

Pages