login
Header Space

 
 

Re: using rev-list to tell if a branch is behind or ahead

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Tuesday, May 20, 2008 - 4:33 pm

On May 20, 2008, at 2:24 PM, Shawn O. Pearce wrote:

Ugh... figured it was something simple.  Funny thing is, when I was  
looking at the c code:
strcpy(symmetric, sha1_to_hex(ours->object.sha1));
strcpy(symmetric + 40, "...");
strcpy(symmetric + 43, sha1_to_hex(theirs->object.sha1));

I was like "I wonder why the 3rd line is +43, and not +42".




That did it, thanks

Tim

--
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:
Re: using rev-list to tell if a branch is behind or ahead, Tim Harper, (Tue May 20, 4:33 pm)
speck-geostationary