[gitg] Fix infinite loop on stash action



commit 0e267d0dd8fbb486411ad7c0257c8cb2cd26bea2
Author: Guilhem Bonnefille <guilhem bonnefille gmail com>
Date:   Mon Jul 27 22:32:51 2009 +0200

    Fix infinite loop on stash action
    
    This occurs whith many stash, and trying to remove the third one.

 gitg/gitg-branch-actions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gitg/gitg-branch-actions.c b/gitg/gitg-branch-actions.c
index c5a5267..1638b02 100644
--- a/gitg/gitg-branch-actions.c
+++ b/gitg/gitg-branch-actions.c
@@ -373,6 +373,7 @@ get_stash_refspec (GitgRepository *repository, GitgRef *stash)
 			}
 			break;
 		}
+		ptr++;
 	}
 	
 	g_strfreev (out);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]