Re: [PATCH] date: remove approxidate_relative()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 10.04.23 um 22:25 schrieb Jeff King:
>
> I'm not sure of the least-confusing way to address a single hunk, though
> (by line number is one option, by hunk-number within the patch is
> another). I suspect the best workflow for a user would be to
> interactively say "show me more context for this hunk". Some viewers
> have support for that (e.g., GitHub's web view of a diff). But handling
> that for a one-shot CLI program is tricky, not to mention then feeding
> it back to format-patch to generate the output you want to send. :)

So basically you propose a format-patch --interactive mode that shows
each hunk and allows extending its context.  This could work.  For hunks
that span multiple screens it might be a bit iffy -- or perhaps not, if
the scrollback buffer of the terminal or console is big enough.

René




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux