|Re: [hatari-devel] Git commits|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Git commits
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Sat, 19 Mar 2022 20:43:56 +0100
- Authentication-results: strato.com; dkim=none
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1647719036; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=5xeSWtl2yJLwS0dZBpp2GpLiLmrzrFK12msBTVyo04k=; b=gwFxn2dJbfgMkPIhzqbLgHMcH0g415s29Q+MpfwGGvO1L5qofxPl+b35RJyXg3UPCG jjmZP6/S8+8tyKlhFBcHS1u67wiI1XfFUdieF1n504+iRZHKQuj85oeiPGCuKx6xExXU vrp4VXpFw04BUtUhyuk+KjLXZIRStHkxidGAhkFOpWFzlqQwUjOVA0InmUVsF68A+Wlz dlw/cQdkUmkosM7uOyCOE2FtWIAMOjaHta1YAQ8qZzE8PnH25xQVMTuRSs8XtE9BuoK0 /iz1FKctifwAbQYS4ovoUZt6spUtmOittbKOpWd4IR0yW8CuM7AL+SurHIR+JeusTMQw vP9w==
> > Yes, you are right. I was not aware of the distinction between the summary
> > line and the body. I usually place the details in the PR, and keep the PR
> > (initially a draft) up to date. github automatically adds a reference to
> > the respective PR to the final commit message, so that you have the full
> > context, including any discussions in the PR. Of course, anything that is in
> > the PR is not available in your local repository, because the commit message
> > just contains the PR ID. So there is a dependency on github if you want to
> > know the whole story.
> Now that's IMHO quite bad. If you ever want to move your repository to
> another provider, you're losing precious information of the history. Thus
> everything related to the description of a commit should ultimately go into
> the commit description, not (only) into the PR description.
At least I *think* that this information is lost. Maybe there is more git
functionality I am not aware of, and information from the PR is somehow added
to the commit message.