On 10/10/21 18:08, Sam Varshavchik wrote:
ToddAndMargo via users writes:

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 <sbona...@redhat.com>
Author: Sandro Bonazzola <sbona...@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.

I am being a perfectionist.  I  will drop back to this
if I can't figure out a workaround
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to