Links to individual file diffs

Sean Chittenden sean at chittenden.org
Thu Jul 16 16:19:12 UTC 2020


You have to come about it differently because git isn't file-based.  You
can look at the history of a file and then look at the changes for the file
in the commit:

1.
https://github.com/freebsd/freebsd-ports/commits/master/sysutils/goaccess/Makefile
2.
https://github.com/freebsd/freebsd-ports/commit/0957c7db9bf1fc4313cdefdcdc2608a0c965dda7#diff-cf13a8dcc2f5626915fc9214b89955c1

It's also possible to see a file at a particular commit:

https://github.com/freebsd/freebsd-ports/blob/8a8992fed482070b218c1d02b5425603ba4fa007/sysutils/goaccess/Makefile

but that doesn't show you the diff between that rev and the previous commit.

The exact feature you want, however, is not implemented from what I can
tell:

https://github.com/desktop/desktop/issues/6757

Finding the file in a commit is probably as good as it's going to get,
however.  -sc


On Sun, Jul 12, 2020 at 4:18 PM Ed Maste <emaste at freebsd.org> wrote:

> On Sun, 12 Jul 2020 at 19:08, Dan Langille <dan at langille.org> wrote:
> >
> > Github doesn't translate that one:
> >
> >
> https://github.com/freebsd/freebsd-ports/diff/sysutils/goaccess/Makefile?id=0957c7db9bf1fc4313cdefdcdc2608a0c965dda7
>
> I do not know how to get similar output from GitHub, or even if it's
> possible.
> _______________________________________________
> freebsd-git at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-git
> To unsubscribe, send any mail to "freebsd-git-unsubscribe at freebsd.org"
>


More information about the freebsd-git mailing list