On 10/10/21 17:14, Sam Varshavchik wrote:
> You're trying to reinvent the wheel. This a web interface to a plain, garden
> variety, git repository.
>
> Forget curl. Use git.
>
> $ git clone
https://gitlab.freedesktop.org/spice/win32/spice-nsis.git
> Cloning into 'spice-nsis'…
> remote: Enumerating objects: 461, done.
> remote: Total 461 (delta 0), reused 0 (delta 0), pack-reused 461
> Receiving objects: 100% (461/461), 89.54 KiB | 8.14 MiB/s, done.
> Resolving deltas: 100% (275/275), done.
> $ cd spice-nsis
> $ git show | sed '1,10p'
> commit f6ad44f35f5caeec51b7002169977272d85701a3
> commit f6ad44f35f5caeec51b7002169977272d85701a3
> Author: Sandro Bonazzola <sbonazzo(a)redhat.com>
> Author: Sandro Bonazzola <sbonazzo(a)redhat.com>
> Date: Tue Feb 5 16:49:45 2019 +0100
> Date: Tue Feb 5 16:49:45 2019 +0100
>
>
> virtio-win: rebase on 0.164
> virtio-win: rebase on 0.164
>
> And a little bit of scripting, or by picking the right options to "git
> show", to get just what you want. I'm too lazy to read git-show's man
page,
> but there's probably a way to have it show just the commit message, and
> nothing else.
>
> Anytime you want to recheck, just cd back to the same directory, do a "git
> pull", and see what you got.
Any way to get git to show me the revision
without downloading the turkey?
Looks like this entire git repo is only 348kb. Now, with the linux-kernel
repo this would probably be a consideration but not for something as small
as this.