From: Michael P. <mic...@gm...> - 2011-07-15 00:59:15
|
Hi all, Now the commit emails can become pretty heavy if the commit is long. I found a way to shorten that by providing a list of the files modified and a link to the commit. It is just necessary to change one parameter in the git repository git config hooks.showrev "t=%s; printf ' http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=%%s' \$t; echo;echo; git show -C -M --name-status %s; echo" With this parameter there won't be a full list of diffs but only the files that have been modified, created or deleted. An additional link to the commit details is also provided. Any comments? -- Michael Paquier http://michael.otacoo.com |
From: Koichi S. <koi...@gm...> - 2011-07-15 02:20:55
|
This change looks very reasonable. We don't always need full patch attached to commit messages. Regards; ---------- Koichi Suzuki 2011/7/15 Michael Paquier <mic...@gm...>: > Hi all, > > Now the commit emails can become pretty heavy if the commit is long. > I found a way to shorten that by providing a list of the files modified and > a link to the commit. > > It is just necessary to change one parameter in the git repository > git config hooks.showrev "t=%s; printf > 'http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=%%s' > \$t; echo;echo; git show -C -M --name-status %s; echo" > > With this parameter there won't be a full list of diffs but only the files > that have been modified, created or deleted. > An additional link to the commit details is also provided. > Any comments? > -- > Michael Paquier > http://michael.otacoo.com > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > |
From: Ashutosh B. <ash...@en...> - 2011-07-15 13:13:13
|
That looks helpful, do we need to change any configuration for our local repositories? On Fri, Jul 15, 2011 at 7:50 AM, Koichi Suzuki <koi...@gm...> wrote: > This change looks very reasonable. We don't always need full patch > attached to commit messages. > > Regards; > ---------- > Koichi Suzuki > > > > 2011/7/15 Michael Paquier <mic...@gm...>: > > Hi all, > > > > Now the commit emails can become pretty heavy if the commit is long. > > I found a way to shorten that by providing a list of the files modified > and > > a link to the commit. > > > > It is just necessary to change one parameter in the git repository > > git config hooks.showrev "t=%s; printf > > ' > http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=%%s > ' > > \$t; echo;echo; git show -C -M --name-status %s; echo" > > > > With this parameter there won't be a full list of diffs but only the > files > > that have been modified, created or deleted. > > An additional link to the commit details is also provided. > > Any comments? > > -- > > Michael Paquier > > http://michael.otacoo.com > > > > > ------------------------------------------------------------------------------ > > AppSumo Presents a FREE Video for the SourceForge Community by Eric > > Ries, the creator of the Lean Startup Methodology on "Lean Startup > > Secrets Revealed." This video shows you how to validate your ideas, > > optimize your ideas and identify your business strategy. > > http://p.sf.net/sfu/appsumosfdev2dev > > _______________________________________________ > > Postgres-xc-developers mailing list > > Pos...@li... > > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > > > > > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > -- Best Wishes, Ashutosh Bapat EntepriseDB Corporation The Enterprise Postgres Company |
From: Michael P. <mic...@gm...> - 2011-07-16 00:56:16
|
No you don't. Everything is centralized in remote server. On Fri, Jul 15, 2011 at 10:13 PM, Ashutosh Bapat < ash...@en...> wrote: > That looks helpful, do we need to change any configuration for our local > repositories? > > > On Fri, Jul 15, 2011 at 7:50 AM, Koichi Suzuki <koi...@gm...>wrote: > >> This change looks very reasonable. We don't always need full patch >> attached to commit messages. >> >> Regards; >> ---------- >> Koichi Suzuki >> >> >> >> 2011/7/15 Michael Paquier <mic...@gm...>: >> > Hi all, >> > >> > Now the commit emails can become pretty heavy if the commit is long. >> > I found a way to shorten that by providing a list of the files modified >> and >> > a link to the commit. >> > >> > It is just necessary to change one parameter in the git repository >> > git config hooks.showrev "t=%s; printf >> > ' >> http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=%%s >> ' >> > \$t; echo;echo; git show -C -M --name-status %s; echo" >> > >> > With this parameter there won't be a full list of diffs but only the >> files >> > that have been modified, created or deleted. >> > An additional link to the commit details is also provided. >> > Any comments? >> > -- >> > Michael Paquier >> > http://michael.otacoo.com >> > >> > >> ------------------------------------------------------------------------------ >> > AppSumo Presents a FREE Video for the SourceForge Community by Eric >> > Ries, the creator of the Lean Startup Methodology on "Lean Startup >> > Secrets Revealed." This video shows you how to validate your ideas, >> > optimize your ideas and identify your business strategy. >> > http://p.sf.net/sfu/appsumosfdev2dev >> > _______________________________________________ >> > Postgres-xc-developers mailing list >> > Pos...@li... >> > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers >> > >> > >> >> >> ------------------------------------------------------------------------------ >> AppSumo Presents a FREE Video for the SourceForge Community by Eric >> Ries, the creator of the Lean Startup Methodology on "Lean Startup >> Secrets Revealed." This video shows you how to validate your ideas, >> optimize your ideas and identify your business strategy. >> http://p.sf.net/sfu/appsumosfdev2dev >> _______________________________________________ >> Postgres-xc-developers mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers >> > > > > -- > Best Wishes, > Ashutosh Bapat > EntepriseDB Corporation > The Enterprise Postgres Company > > -- Michael Paquier http://michael.otacoo.com |