[Bash-completion-devel] [Bash-completion-commits] [SCM] bash-completion branch, master, updated. 0f2656669fbdf627a3ddf11bdb72e3ec9cef68fd

David Paleino d.paleino at gmail.com
Tue Mar 31 11:57:11 UTC 2009


On Mon, 30 Mar 2009 23:50:53 +0300, Ville Skyttä wrote:

> On Monday 30 March 2009, Guillaume Rousse wrote:
> > Guillaume Rousse a écrit :
> > > The following commit has been merged in the master branch:
> > > commit 0924d059c6c845069b10482882c821088ccaeefa
> > > Merge: 91daa8de58a6e88d5a4b55621e2e7d5e732c65ea
> > > dc88329e8eea8424f2e1dc7efc50a80e240708c4 Author: Guillaume Rousse
> > > <guillomovitch at zarb.org>
> > > Date:   Mon Mar 30 22:02:55 2009 +0200
> > >
> > >     Merge branch 'master' into guillomovitch
> >
> > This seems to be a commit related to my own local branch, I don't
> > understand why it does generate a mail here... I just hop I don't screw
> > up anything in master branch.
> 
> Happened to me too once, I don't claim to understand it either but it didn't 
> seem to have any bad effects.  The web UI doesn't show any changes the usual 
> way either, just "Simple merge", just as it did for me as well.

But "git log" is a mess, and cherry-picking isn't easy.

What are you guys using? What's your development workflow? There shouldn't be
any merges in master.

So log messages like:

Merge branch 'master' of
git+ssh://scop-guest@git.debian.org/git/bash-completion/bash-completion

should'nt really exist, sorry :)

> > Also, when merging changes from my own branches into master branch,

Guillaume, first of all, why do you make local branches? :)
> > how can I merge multiples commits into single ones, so as to ditch invalid
> > intermediate steps ?

My suggestion is different from what Ville proposes, and cleaner, I believe.

The trick should be using "-n" in git-cherry-pick. Example:

mybranch $ [hack] && git commit
[aaaaaaa] My log
mybranch $ [hack] && git commit
[bbbbbbb] My log 2
master $ git cherry-pick -n aaaaaaa
master $ git cherry-pick -n bbbbbbb
master $ git commit

I never tried this, but should work :P

> I don't know, but the way I do it is that I clean up my commits locally
> before pushing them using git commit --amend.  For example:
> 
> # hack bash_completion
> git add bash_completion
> git commit
> 
> # hack bash_completion more, related to the previous commit
> git add bash_completion
> git commit --amend # then edit the commit message if appropriate
> 
> The result of the above is a clean single local commit.

Right.
You do this in master? After this, do you do a simple push?

I'd like to have a clean log, so as in future we could have some automagical
tool generating a changelog from "git log" (as git-dch now does for
debian/changelog)



-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20090331/969f3697/attachment.pgp 


More information about the Bash-completion-devel mailing list