Bug in "changes" tab in Gitlab

Ben Gamari ben at smart-cactus.org
Wed Jan 16 14:28:28 UTC 2019


Ömer Sinan Ağacan <omeragacan at gmail.com> writes:

> Hi,
>
> I think there's a currently a bug in "changes" tab in gitlab. If you
> look at [1] it shows as if I added a new line in `Main.hs`, but
> actually I just changed one word:
>
>     diff --git a/utils/genapply/Main.hs b/utils/genapply/Main.hs
>     index 71b84fde79..7038dc5c09 100644
>     --- a/utils/genapply/Main.hs
>     +++ b/utils/genapply/Main.hs
>     @@ -903,7 +903,7 @@ genStackApply regstatus args =
>      --
>      -- These code fragments are used to save registers on the stack at a heap
>      -- check failure in the entry code for a function.  We also have to save R1
>     --- and the return address (stg_gc_fun_info) on the stack.  See
> stg_gc_fun_gen
>     +-- and the return address (stg_gc_fun_info) on the stack.  See __stg_gc_fun
>      -- in HeapStackCheck.cmm for more details.
>
> I'm guessing that Gitlab is confused by the `---` prefix in the diff.
>
> I was going to report it but I realized that we're not using the latest version
> (the "help" page says "update asap"), so perhaps we should try updating first?

I have upgraded GitLab and it appears that the issue persists. Perhaps
you could open GitLab ticket and reply with a reference? I suspect we
will be hitting this quite often.

Cheers,

- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190116/ad53be40/attachment.sig>


More information about the ghc-devs mailing list