Sign in
Join now
zig-git
jcollie.dev
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Reading and writing git repositories in Zig, without running git.
Star
Starred
Star
Something went wrong. Try again.
Fork
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
Commits on
main
jcollie.dev
56122278
Copied
Failed
Copy SHA
Show dense combined diffs, -U0 and renames in combined
diffs
diffs
Copy SHA
Browse repository
committed
22m ago
jcollie.dev
0e82f67c
Copied
Failed
Copy SHA
Name no file for a bad boolean, and read diff.renames in diff
--no-index
--no-index
Copy SHA
Browse repository
committed
58m ago
jcollie.dev
41634545
Copied
Failed
Copy SHA
Write nothing for a commit under an empty format
string
string
Copy SHA
Browse repository
committed
1h ago
jcollie.dev
c263ee74
Copied
Failed
Copy SHA
Drop -W and --function-context from the refused diff
options
options
Copy SHA
Browse repository
committed
1h ago
jcollie.dev
ea32d483
Copied
Failed
Copy SHA
Merge function lines and built-in diff
drivers
drivers
Copy SHA
Browse repository
committed
2h ago
jcollie.dev
948818a6
Copied
Failed
Copy SHA
Write merges' combined diffs with -c in log and
show
show
Copy SHA
Browse repository
committed
3h ago
jcollie.dev
c8d83f8e
Copied
Failed
Copy SHA
Show merges as -m and --diff-merges ask in log and
show
show
Copy SHA
Browse repository
committed
3h ago
jcollie.dev
d374edc2
Copied
Failed
Copy SHA
Follow a file through renames and copies with log
--follow
--follow
Copy SHA
Browse repository
committed
3h ago
jcollie.dev
6cfdda0d
Copied
Failed
Copy SHA
Break rewrites with -B, for renames to take and as
rewrites
rewrites
Copy SHA
Browse repository
committed
4h ago
jcollie.dev
42d2d1d0
Copied
Failed
Copy SHA
Match the remaining fourteen of git's built-in diff
drivers
drivers
Copy SHA
Browse repository
committed
4h ago
jcollie.dev
5ca1f755
Copied
Failed
Copy SHA
Find renames and copies as git does, in every diff
command
command
Copy SHA
Browse repository
committed
4h ago
jcollie.dev
b03ca508
Copied
Failed
Copy SHA
Match fourteen of git's built-in diff drivers' function
lines
lines
Copy SHA
Browse repository
committed
4h ago
jcollie.dev
cc9046c9
Copied
Failed
Copy SHA
Show function lines from diff drivers' patterns, and -W, as git
does
does
Copy SHA
Browse repository
committed
4h ago
jcollie.dev
416d5c88
Copied
Failed
Copy SHA
Find where a regular expression matches, and its groups, as glibc
does
does
Copy SHA
Browse repository
committed
4h ago
jcollie.dev
fdf36d9d
Copied
Failed
Copy SHA
Write diff-tree's commit line after the diff under --no-commit-id
--always
--always
Copy SHA
Browse repository
committed
5h ago
jcollie.dev
57ccdf40
Copied
Failed
Copy SHA
Fuzz the stat layout, and keep a name's share within a narrow
width
width
Copy SHA
Browse repository
committed
5h ago
jcollie.dev
1ba98fe0
Copied
Failed
Copy SHA
Answer diff in a repository, and log and show with
diffs
diffs
Copy SHA
Browse repository
committed
6h ago
jcollie.dev
80dc2a30
Copied
Failed
Copy SHA
Compare the index with trees and the working tree, and answer diff-index and
diff-files
diff-files
Copy SHA
Browse repository
committed
6h ago
jcollie.dev
147aa035
Copied
Failed
Copy SHA
Write every diff format for changed paths, and answer
diff-tree
diff-tree
Copy SHA
Browse repository
committed
6h ago
jcollie.dev
98b3be80
Copied
Failed
Copy SHA
Read attributes as gitattributes(5) gives them, and answer
check-attr
check-attr
Copy SHA
Browse repository
committed
7h ago
jcollie.dev
bdaf6100
Copied
Failed
Copy SHA
Count a left-out change's lines toward joining the hunks around
it
it
Copy SHA
Browse repository
committed
7h ago
jcollie.dev
fbe24d6f
Copied
Failed
Copy SHA
Describe the refused long line-diff searches in the README, GLOSSARY and
CONTRIBUTING
CONTRIBUTING
Copy SHA
Browse repository
committed
8h ago
jcollie.dev
aecedaf6
Copied
Failed
Copy SHA
Refuse a line diff whose search goes past 256 steps, and count three more lines for the
limit
limit
Copy SHA
Browse repository
committed
8h ago
jcollie.dev
beabcf67
Copied
Failed
Copy SHA
Allow a measured residue for heuristics fitted to git's
output
output
Copy SHA
Browse repository
committed
8h ago
jcollie.dev
2f3399f6
Copied
Failed
Copy SHA
Merge the fix for NULs in decoration option
values
values
Copy SHA
Browse repository
committed
10h ago
jcollie.dev
0232040e
Copied
Failed
Copy SHA
Refit the indent heuristic's weights by local search over 650,000
slides
slides
Copy SHA
Browse repository
committed
10h ago
jcollie.dev
824848f4
Copied
Failed
Copy SHA
Leave out a change with -I and --ignore-blank-lines only if one covers it
whole
whole
Copy SHA
Browse repository
committed
12h ago
jcollie.dev
c77b43f9
Copied
Failed
Copy SHA
Place runs of changes by git's indent heuristic, and set the tail aside under
-U0
-U0
Copy SHA
Browse repository
committed
13h ago
jcollie.dev
2f100e1f
Copied
Failed
Copy SHA
Keep a NUL in a trailers separator as git
does
does
Copy SHA
Browse repository
committed
15h ago
jcollie.dev
6e321f78
Copied
Failed
Copy SHA
End a decoration option's value at a NUL byte as well as at
%x00
%x00
Copy SHA
Browse repository
committed
15h ago
jcollie.dev
458ce563
Copied
Failed
Copy SHA
Compare a symbolic link with a file as git diff --no-index
does
does
Copy SHA
Browse repository
committed
15h ago
jcollie.dev
bb48d85f
Copied
Failed
Copy SHA
Compare two texts and write patches as git diff --no-index
does
does
Copy SHA
Browse repository
committed
15h ago
jcollie.dev
89226a13
Copied
Failed
Copy SHA
Merge the width tables generated from the Unicode Character
Database
Database
Copy SHA
Browse repository
committed
17h ago
jcollie.dev
7b6582ea
Copied
Failed
Copy SHA
Describe replace refs, grafts, decorations and naming commits in the
docs
docs
Copy SHA
Browse repository
committed
17h ago
jcollie.dev
f48a57a9
Copied
Failed
Copy SHA
Decorate commits, describe them, and list branches and tags as git
does
does
Copy SHA
Browse repository
committed
17h ago
jcollie.dev
3bcf3da3
Copied
Failed
Copy SHA
Read objects through replace refs, and commits through grafts and
shallow
shallow
Copy SHA
Browse repository
committed
18h ago
jcollie.dev
d57a62df
Copied
Failed
Copy SHA
Generate the width tables from the Unicode Character
Database
Database
Copy SHA
Browse repository
committed
18h ago
jcollie.dev
1beeeb57
Copied
Failed
Copy SHA
Describe describing commits in the README, CONTRIBUTING and
GLOSSARY
GLOSSARY
Copy SHA
Browse repository
committed
18h ago
jcollie.dev
0bca4596
Copied
Failed
Copy SHA
Describe commits as git log does, and answer log, show and
check-mailmap
check-mailmap
Copy SHA
Browse repository
committed
19h ago
jcollie.dev
83c5da7c
Copied
Failed
Copy SHA
Read basic regular expressions, mailmaps and trailers as git
does
does
Copy SHA
Browse repository
committed
20h ago
jcollie.dev
d33eb6f1
Copied
Failed
Copy SHA
Simplify history limited to paths, as git rev-list
does
does
Copy SHA
Browse repository
committed
20h ago
jcollie.dev
a909f0f4
Copied
Failed
Copy SHA
Read and match pathspecs, and compare trees under one, as git
does
does
Copy SHA
Browse repository
committed
22h ago
jcollie.dev
b448cd17
Copied
Failed
Copy SHA
Describe walking commits in CONTRIBUTING and
GLOSSARY
GLOSSARY
Copy SHA
Browse repository
committed
22h ago
jcollie.dev
08d57376
Copied
Failed
Copy SHA
Answer rev-list and merge-base from the library, as git
does
does
Copy SHA
Browse repository
committed
23h ago
jcollie.dev
ca85ea80
Copied
Failed
Copy SHA
Walk commits and find merge bases as git
does
does
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
2db44a89
Copied
Failed
Copy SHA
Read the commit-graph, split chains and changed-path Bloom
filters
filters
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
467b8329
Copied
Failed
Copy SHA
Describe revisions in the README, CONTRIBUTING and
GLOSSARY
GLOSSARY
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
fabc95f9
Copied
Failed
Copy SHA
Compare every single-revision form with git, and match what it
showed
showed
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
887c036d
Copied
Failed
Copy SHA
Resolve revisions against a repository, in rev-parse and
cat-file
cat-file
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
e24f89b8
Copied
Failed
Copy SHA
Read revisions and refspecs, and find upstream and push
branches
branches
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
2fab7f37
Copied
Failed
Copy SHA
Merge the move to zig-datetime v0.0.3, with dates
simplified
simplified
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
8f6e8577
Copied
Failed
Copy SHA
Describe abbreviated object IDs in the README, CONTRIBUTING and
GLOSSARY
GLOSSARY
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
b2a08736
Copied
Failed
Copy SHA
Simplify dates: strftime writes format: whole, refuse where git
differs
differs
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
2ab362de
Copied
Failed
Copy SHA
Name objects by abbreviated object IDs, and shorten them, in
zig-git
zig-git
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
1d777d59
Copied
Failed
Copy SHA
Expand abbreviated object IDs and shorten object IDs, as git
does
does
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
20cd46a3
Copied
Failed
Copy SHA
Move dates to zig-datetime v0.0.3: runtime strftime and lenient
TZ
TZ
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
d6deb8f6
Copied
Failed
Copy SHA
Answer ls-files from the index, as git does, and compare it with
git
git
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
55269a52
Copied
Failed
Copy SHA
Read the index: every version, its extensions, split and sparse
indexes
indexes
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
18909adf
Copied
Failed
Copy SHA
Merge the dates module, written alongside refs in its own
worktree
worktree
Copy SHA
Browse repository
committed
1d ago
jcollie.dev
ebfdcb17
Copied
Failed
Copy SHA
Read refs as git does: loose, packed and reftable, behind one ref
store
store
Copy SHA
Browse repository
committed
1d ago
Previous
1
2
Next