Skip to content
forked from russell/cl-git

a Common Lisp CFFI interface to the libgit2 library

Notifications You must be signed in to change notification settings

kushaldas/cl-git

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cl-git

This is common lisp wrapper around the libgit2 library. It's still early days and the abstraction is far from complete, but there is enough for this library to be useful.

What It Can Do

  • SHA conversions, formatting
  • create commits
  • revision walking
  • index file (staging area) manipulation
  • reference management listing

Examples

Listing specific details of a commit:

(with-git-repository ("/hame/user/projects/repo/.git/")

(with-git-revisions (commit :sha "859d33fcbeeafeb65a9ed4c07d7d9e4f40684694")

(princ (git-commit-message commit)

(princ (git-commit-author commit)))))

License

This library is licensed under the LLGPL essentially it's the same as the LGPL but with preamble that puts the Lisp terminology in context.

About

a Common Lisp CFFI interface to the libgit2 library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published