diff options
author | Arun Isaac | 2022-07-03 01:36:32 +0530 |
---|---|---|
committer | Arun Isaac | 2022-07-03 23:20:48 +0530 |
commit | 4d5db55c18ababbb1b37ecabb4db55625d2ef554 (patch) | |
tree | d4c992220f80168b405a098fb37ff489e00f2bba /guix.scm | |
parent | b15edb1e6910a8a2b4994d8225f2ec5097e648ab (diff) | |
download | tissue-4d5db55c18ababbb1b37ecabb4db55625d2ef554.tar.gz tissue-4d5db55c18ababbb1b37ecabb4db55625d2ef554.tar.lz tissue-4d5db55c18ababbb1b37ecabb4db55625d2ef554.zip |
git: Find git tracked files from HEAD, not from index.
The index is the staging area. We really only want to look at files
already committed into the git repository. In addition, a pleasant
side-effect is that this gets rid of many of the additional bindings
from libgit2.
* tissue/git.scm: Import only %null-pointer from (system foreign). Do
not import (bytestructures guile).
(pointer->bytestructure, bytestructure->pointer, pointer->index-time,
pointer->index-entry, repository-index, index-version,
index-entry-count, index-entry, index-entries): Delete functions.
(%oid, %index-time, %index-entry): Delete variables.
(<index-time>, <index-entry>): Delete types.
(head-tree): New function.
(git-tracked-files): Find git tracked files from HEAD, not from index.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions