threads / discuss / 55254

[GIT PULL v2] git-gui pull request

Subject: [GIT PULL v2] git-gui pull request

## tl;dr

3 messages between Mar 4, 2021 and Mar 4, 2021.

replies: 2people: 3as markdown or json

Pratyush Yadav· Mar 4, 2021, 18:44 UTC · lore
Hi Junio,

In light of the recent breakages on macOS, this PR contains a revert of the offending commit. I will add it back in the next version with problems on macOS fixed.

This highlights the need for me to figure out a way to test on macOS. It is not a good strategy to put breaking bugs in a release and hope to fix it in the next one. And macOS has been a regular offender. Dunno if it is possible without owning the Mac hardware though...

--- The following changes since commit b1056f60b63f1bc8226d01881bc829e171fc78bf:

  Merge branch 'py/commit-comments' (2021-02-22 20:19:53 +0530)
are available in the Git repository at:
  https://github.com/prati0100/git-gui.git 
for you to fetch changes up to df4f9e28f64ea97032ec70d9c8894dc87a1b7f9e:
  Merge branch 'py/revert-commit-comments' (2021-03-04 13:59:45 +0530)
----------------------------------------------------------------
Pratyush Yadav (2):
      Revert "git-gui: remove lines starting with the comment character"
      Merge branch 'py/revert-commit-comments'
 git-gui.sh     |  5 -----
 lib/commit.tcl | 18 ++----------------
 2 files changed, 2 insertions(+), 21 deletions(-)
-- 
Regards,
Pratyush Yadav
Eric Sunshine· Mar 4, 2021, 18:54 UTC · re: Pratyush Yadav · lore

Re: [GIT PULL v2] git-gui pull request

On Thu, Mar 4, 2021 at 1:45 PM Pratyush Yadav <me@yadavpratyush.com> wrote:
Show 8 quoted lines
> In light of the recent breakages on macOS, this PR contains a revert of
> the offending commit. I will add it back in the next version with
> problems on macOS fixed.
>
> This highlights the need for me to figure out a way to test on macOS. It
> is not a good strategy to put breaking bugs in a release and hope to fix
> it in the next one. And macOS has been a regular offender. Dunno if it
> is possible without owning the Mac hardware though...
A couple suggestions:

Send pull requests to Junio early and often. His tree gets tested more widely than the stand-alone git-gui, so breakage is more likely to get detected earlier rather than later in his tree, thus giving us a more comfortable margin for dealing with problems.

The majority of the problems noticed on macOS have not been specific to macOS itself. Rather, they are specific to the old version of Tcl which ships with macOS. Therefore, an easy way for you to detect these problems early is to install an old version of Tcl on your development machine and ensure that you test against that version before sending a pull request. I think that this approach alone would catch all of the outright breakage problems we've seen recently on macOS. (It won't catch aesthetic issues, but those tend to be minor compared with the outright breakage.)

Thanks.
Junio C Hamano· Mar 4, 2021, 21:04 UTC · re: Pratyush Yadav · lore

Re: [GIT PULL v2] git-gui pull request

Pratyush Yadav <me@yadavpratyush.com> writes:
Show 12 quoted lines
> The following changes since commit 
> b1056f60b63f1bc8226d01881bc829e171fc78bf:
>
>   Merge branch 'py/commit-comments' (2021-02-22 20:19:53 +0530)
>
> are available in the Git repository at:
>
>   https://github.com/prati0100/git-gui.git 
>
> for you to fetch changes up to df4f9e28f64ea97032ec70d9c8894dc87a1b7f9e:
>
>   Merge branch 'py/revert-commit-comments' (2021-03-04 13:59:45 +0530)
Thanks.

← back to recent threads