<br><div class="gmail_quote">2012/8/5 Morten Volden <span dir="ltr"><<a href="mailto:mvolden2@gmail.com" target="_blank">mvolden2@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br><div class="gmail_quote"><div>2012/8/5 Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de" target="_blank">apaku@gmx.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Hi,<br>
<div><br>
On Sun, Aug 5, 2012 at 10:42 AM, Morten Volden <<a href="mailto:mvolden2@gmail.com" target="_blank">mvolden2@gmail.com</a>> wrote:<br>
> Not quite sure if I broke something in the remote repo or not (I sincerely<br>
> hope not), so just to make sure.<br>
<br>
</div>It does not look like anything was broken, although the gitk history<br>
could look a tad bit nicer.<br>
<div><br>
> I took the changes made in my local development branch (for both<br>
> kdevplatform and kdevelop ) and merged them into my local master.<br>
<br>
</div>It seems you first merged master into your local branch regularly and<br>
also directly before pushing which is why the merge of<br>
outputview-extension into master was a 'fast-forward' . Thats why<br>
there was no dedicated merge-commit saying 'outputview-extension was<br>
merged into master' anymore. As Ivan already said, you could prevent<br>
this with git merge --no-ff.<br></blockquote></div><div><br>
Thanks Andreas and Ivan for your replies. I'm sorry to bring up 
off-topic stuff that basically originates from me not reading the manual
 properly. <br> </div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
> Browsing the remote repository I see that there is no revision number to<br>
> these changes and there is no change description.<br>
<br>
</div>If you talk about the git merge outputview-extension done in your<br>
local master branch, then yes since there was no commit created for<br>
this.<br>
<div><br>
> What I really wanted was to have a single change description for all the<br>
> small commits that was made in the development branch. I naively expected<br>
> git to present me with the option to do this at some point in the process.<br>
<br>
</div>See the git merge manual, if it can do a fast-forward then it'll<br>
prefer that by default. A separate merge-commit is only inserted when<br>
using --no-ff or if the a fast-forward is not possible.<br>
<div><br>
> So the question is:<br>
><br>
> a) Is the remote repository broken?<br>
<br>
</div>No.<br>
<div><br>
> b) Is there some way to fix the change description in the remote repo?<br>
<br>
</div>No. You need to make sure the history is as you want it before<br>
pushing. Personally I find gitk very useful for this.<br></blockquote></div><div><br>Great :-)<br><br>I'll be pushing the changes to kdev-custom-buildsystem in a short while, let's see if I can do the merge correctly this time :-). </div>
</div></blockquote><div>No luck. :-/<br><br>Just pushed the changes to custom-buildsystem. The same problem.<br>
<br>When merging I did:<br><br>git merge --no-ff -m "Use outputmodel defined in outputview/outputmodel        REVIEW: 105321" outputview-extension <br>
<br>Where outputview-extension is the name of my development branch.<br><br>As a perforce user I'm having some difficulty wrapping my head around how git does things. I expected there to be one commit message for the entire merge. Instead when I do git log on a given file I see the commit logs from the development branch (But not the commit message from the merge). <br>
<br>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div>I'll most definitely take a look at gitk - Thanks!<br>


<br></div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><font color="#888888"><br>
Andreas<br>
</font></span><br>
PS: There are technical ways of changing the history, but you cannot<br>
do this yourself (requires sysadmins giving you force-push rights<br>
temporarily) nor is it really necessary in this case.<br>
<div><div><br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org" target="_blank">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</div></div></blockquote></div></div><span><font color="#888888"><br><br clear="all"><br>-- <br>- When the split is pulled, mr. Grenade is no longer our friend<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>- When the split is pulled, mr. Grenade is no longer our friend<br>