* [RFC] just an (stupid) idea when creating a new branch
@ 2006-07-08 15:55 moreau francis
2006-07-08 21:41 ` Jakub Narebski
2006-07-09 3:27 ` Pavel Roskin
0 siblings, 2 replies; 12+ messages in thread
From: moreau francis @ 2006-07-08 15:55 UTC (permalink / raw)
To: git
Hi GIT folks.
I'm a complete newbie on git development so excuse me if
this idea is completely stupid.
Would it be possible to let the user stick a short explanation
on what a branch is supposed to implement during its creation.
That is
$ git branch --topic "Implement a killer feature \
> This set of patches add the foo feature to GIT" mybranch master
Then it would be possible with another command to consult this topic
after a while. And even more useful, when generating the patch set
with the following git command
$ git-format-patch -n HEAD master
it uses the topic branch to generate as first patch a summary
of the patch serie. That is
"""
Subject: [PATCH 0/n] Implement a killer feature
This This set of patches add the foo feature to GIT.
"""
Is it useless ?
Thanks
Francis
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [RFC] just an (stupid) idea when creating a new branch
2006-07-08 15:55 [RFC] just an (stupid) idea when creating a new branch moreau francis
@ 2006-07-08 21:41 ` Jakub Narebski
2006-07-08 22:15 ` Johannes Schindelin
2006-07-09 6:54 ` Marco Costalba
2006-07-09 3:27 ` Pavel Roskin
1 sibling, 2 replies; 12+ messages in thread
From: Jakub Narebski @ 2006-07-08 21:41 UTC (permalink / raw)
To: git
moreau francis wrote:
> Hi GIT folks.
>
> I'm a complete newbie on git development so excuse me if
> this idea is completely stupid.
>
> Would it be possible to let the user stick a short explanation
> on what a branch is supposed to implement during its creation.
It would be possible when/if branch and remotes config would migrate
to .git/config. Currently too many I think relies on refs/heads being
simple sha1 of "top" commit.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [RFC] just an (stupid) idea when creating a new branch
2006-07-08 21:41 ` Jakub Narebski
@ 2006-07-08 22:15 ` Johannes Schindelin
2006-07-09 17:04 ` Jakub Narebski
2006-07-09 6:54 ` Marco Costalba
1 sibling, 1 reply; 12+ messages in thread
From: Johannes Schindelin @ 2006-07-08 22:15 UTC (permalink / raw)
To: Jakub Narebski; +Cc: git
Hi,
On Sat, 8 Jul 2006, Jakub Narebski wrote:
> moreau francis wrote:
>
> > Hi GIT folks.
> >
> > I'm a complete newbie on git development so excuse me if
> > this idea is completely stupid.
> >
> > Would it be possible to let the user stick a short explanation
> > on what a branch is supposed to implement during its creation.
>
> It would be possible when/if branch and remotes config would migrate
> to .git/config. Currently too many I think relies on refs/heads being
> simple sha1 of "top" commit.
But it does not need a change of existing practice at all! Just add the
information provided by --topic as branch."pathname".description to the
config. And make format-patch aware of that.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [RFC] just an (stupid) idea when creating a new branch
2006-07-08 15:55 [RFC] just an (stupid) idea when creating a new branch moreau francis
2006-07-08 21:41 ` Jakub Narebski
@ 2006-07-09 3:27 ` Pavel Roskin
2006-07-09 9:48 ` Re : " moreau francis
1 sibling, 1 reply; 12+ messages in thread
From: Pavel Roskin @ 2006-07-09 3:27 UTC (permalink / raw)
To: moreau francis; +Cc: git
Hello!
On Sat, 2006-07-08 at 15:55 +0000, moreau francis wrote:
> Hi GIT folks.
>
> I'm a complete newbie on git development so excuse me if
> this idea is completely stupid.
>
> Would it be possible to let the user stick a short explanation
> on what a branch is supposed to implement during its creation.
Just for your information, this is already implemented by StGIT. For
instance, .git/patches/master/description contains the description of
the "master" branch.
If you run "stg branch --list", the branch descriptions will be listed.
I'm not aware of any commands to change the description.
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [RFC] just an (stupid) idea when creating a new branch
2006-07-08 21:41 ` Jakub Narebski
2006-07-08 22:15 ` Johannes Schindelin
@ 2006-07-09 6:54 ` Marco Costalba
2006-07-09 14:33 ` Johannes Schindelin
1 sibling, 1 reply; 12+ messages in thread
From: Marco Costalba @ 2006-07-09 6:54 UTC (permalink / raw)
To: Jakub Narebski; +Cc: git
On 7/8/06, Jakub Narebski <jnareb@gmail.com> wrote:
> moreau francis wrote:
>
> > Hi GIT folks.
> >
> > I'm a complete newbie on git development so excuse me if
> > this idea is completely stupid.
> >
> > Would it be possible to let the user stick a short explanation
> > on what a branch is supposed to implement during its creation.
>
> It would be possible when/if branch and remotes config would migrate
> to .git/config. Currently too many I think relies on refs/heads being
> simple sha1 of "top" commit.
>
It is possible to add a message (and more) to a tag creating a tag
object. FWIK this is not allowed for the other refs.
Why there is this (artifical?) difference between tags and the other
kind of refs?
Marco
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re : [RFC] just an (stupid) idea when creating a new branch
2006-07-09 3:27 ` Pavel Roskin
@ 2006-07-09 9:48 ` moreau francis
2006-07-09 10:16 ` Junio C Hamano
0 siblings, 1 reply; 12+ messages in thread
From: moreau francis @ 2006-07-09 9:48 UTC (permalink / raw)
To: Pavel Roskin; +Cc: git
> Just for your information, this is already implemented by StGIT. For
> instance, .git/patches/master/description contains the description of
> the "master" branch.
well I'm using plain git for now. And it doesn't seem to be a high level
feature.
Another point to this would be to show this set of patch and its summary
threaded under a mailer. I use thunderbird, and it's possible to use threaded
view which is very convinient. I don't know how it works, but see the set of
patchs like:
[PATCH 0/3] Summary of the set
|
+ [PATCH 1/4] blababla
+ [PATCH 2/4] another useful commit
+ [PATCH 3/4] ...
would be great !
Francis
PS: please CC me when answering.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Re : [RFC] just an (stupid) idea when creating a new branch
2006-07-09 9:48 ` Re : " moreau francis
@ 2006-07-09 10:16 ` Junio C Hamano
0 siblings, 0 replies; 12+ messages in thread
From: Junio C Hamano @ 2006-07-09 10:16 UTC (permalink / raw)
To: moreau francis; +Cc: git
moreau francis <francis_moreau2000@yahoo.fr> writes:
> I don't know how it works, but see the set of
> patchs like:
>
> [PATCH 0/3] Summary of the set
> |
> + [PATCH 1/4] blababla
> + [PATCH 2/4] another useful commit
> + [PATCH 3/4] ...
>
> would be great !
Doing the cover letter is primarily a job of the patch
submitter, and I think git-send-email has some support for that.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [RFC] just an (stupid) idea when creating a new branch
2006-07-09 6:54 ` Marco Costalba
@ 2006-07-09 14:33 ` Johannes Schindelin
2006-07-09 22:01 ` Petr Baudis
0 siblings, 1 reply; 12+ messages in thread
From: Johannes Schindelin @ 2006-07-09 14:33 UTC (permalink / raw)
To: Marco Costalba; +Cc: git
Hi,
On Sun, 9 Jul 2006, Marco Costalba wrote:
> It is possible to add a message (and more) to a tag creating a tag
> object. FWIK this is not allowed for the other refs.
>
> Why there is this (artifical?) difference between tags and the other
> kind of refs?
The tag message is nothing else than a commit message. The
(artificial-but-on-purpose) difference is that you are not supposed to
change a tag ref, whereas a regular ref pointing to a commit is _expected_
to point to some other commit in the future.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [RFC] just an (stupid) idea when creating a new branch
2006-07-08 22:15 ` Johannes Schindelin
@ 2006-07-09 17:04 ` Jakub Narebski
2006-07-09 19:09 ` Johannes Schindelin
0 siblings, 1 reply; 12+ messages in thread
From: Jakub Narebski @ 2006-07-09 17:04 UTC (permalink / raw)
To: git
Johannes Schindelin wrote:
> On Sat, 8 Jul 2006, Jakub Narebski wrote:
>
>> moreau francis wrote:
>>
>>> Would it be possible to let the user stick a short explanation
>>> on what a branch is supposed to implement during its creation.
>>
>> It would be possible when/if branch and remotes config would migrate
>> to .git/config. Currently too many I think relies on refs/heads being
>> simple sha1 of "top" commit.
>
> But it does not need a change of existing practice at all! Just add the
> information provided by --topic as branch."pathname".description to the
> config. And make format-patch aware of that.
And make tools remove stale descriptions. I sometimes rename branches "by
hand", as currently there is I think no tool for this...
By the way, did this series of patches (adding support for branch and
remotes configuretion to config file) made into 'next', 'master' or even
'pu', or after some discussion it stalled?
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [RFC] just an (stupid) idea when creating a new branch
2006-07-09 17:04 ` Jakub Narebski
@ 2006-07-09 19:09 ` Johannes Schindelin
0 siblings, 0 replies; 12+ messages in thread
From: Johannes Schindelin @ 2006-07-09 19:09 UTC (permalink / raw)
To: Jakub Narebski; +Cc: git
Hi,
On Sun, 9 Jul 2006, Jakub Narebski wrote:
> By the way, did this series of patches (adding support for branch and
> remotes configuretion to config file) made into 'next', 'master' or even
> 'pu', or after some discussion it stalled?
The latter. Some parts are there (the remote configuration made it in
AFAIK) but things like the default remote(s) to fetch / push are not.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [RFC] just an (stupid) idea when creating a new branch
2006-07-09 14:33 ` Johannes Schindelin
@ 2006-07-09 22:01 ` Petr Baudis
2006-07-09 22:12 ` Johannes Schindelin
0 siblings, 1 reply; 12+ messages in thread
From: Petr Baudis @ 2006-07-09 22:01 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Marco Costalba, git
Hi,
Dear diary, on Sun, Jul 09, 2006 at 04:33:53PM CEST, I got a letter
where Johannes Schindelin <Johannes.Schindelin@gmx.de> said that...
> On Sun, 9 Jul 2006, Marco Costalba wrote:
>
> > It is possible to add a message (and more) to a tag creating a tag
> > object. FWIK this is not allowed for the other refs.
> >
> > Why there is this (artifical?) difference between tags and the other
> > kind of refs?
>
> The tag message is nothing else than a commit message.
huh?
The tag message is a message in the "freeform" part of the tag object,
but disregarding the format similiraties, it has really nothing to do
with a commit message. (Also, commit messages don't tend to be commonly
PGP signed. ;-)
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Snow falling on Perl. White noise covering line noise.
Hides all the bugs too. -- J. Putnam
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [RFC] just an (stupid) idea when creating a new branch
2006-07-09 22:01 ` Petr Baudis
@ 2006-07-09 22:12 ` Johannes Schindelin
0 siblings, 0 replies; 12+ messages in thread
From: Johannes Schindelin @ 2006-07-09 22:12 UTC (permalink / raw)
To: Petr Baudis; +Cc: Marco Costalba, git
Hi,
On Mon, 10 Jul 2006, Petr Baudis wrote:
> Hi,
>
> Dear diary, on Sun, Jul 09, 2006 at 04:33:53PM CEST, I got a letter
> where Johannes Schindelin <Johannes.Schindelin@gmx.de> said that...
> > On Sun, 9 Jul 2006, Marco Costalba wrote:
> >
> > > It is possible to add a message (and more) to a tag creating a tag
> > > object. FWIK this is not allowed for the other refs.
> > >
> > > Why there is this (artifical?) difference between tags and the other
> > > kind of refs?
> >
> > The tag message is nothing else than a commit message.
>
> huh?
>
> The tag message is a message in the "freeform" part of the tag object,
> but disregarding the format similiraties, it has really nothing to do
> with a commit message. (Also, commit messages don't tend to be commonly
> PGP signed. ;-)
Marco was talking about an "artificial difference", which means technical
issues. From a technical viewpoint, the tag message is _exactly_ the same
as a commit message.
Hth,
Dscho
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-07-09 22:12 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-08 15:55 [RFC] just an (stupid) idea when creating a new branch moreau francis
2006-07-08 21:41 ` Jakub Narebski
2006-07-08 22:15 ` Johannes Schindelin
2006-07-09 17:04 ` Jakub Narebski
2006-07-09 19:09 ` Johannes Schindelin
2006-07-09 6:54 ` Marco Costalba
2006-07-09 14:33 ` Johannes Schindelin
2006-07-09 22:01 ` Petr Baudis
2006-07-09 22:12 ` Johannes Schindelin
2006-07-09 3:27 ` Pavel Roskin
2006-07-09 9:48 ` Re : " moreau francis
2006-07-09 10:16 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).