git
git copied to clipboard
A dart wrapper around the git command line binary
Adds support for worktree paths in `GitDir.fromExisting`. Worktrees are identified based on whether the `$GIT_DIR` and `$GIT_COMMON_DIR` are different (although not sure there are any edge cases worth considering here)....
I need the ability to work with a bare repo with multiple work trees. So what I would like to be able to see is: - The ability to pass...
I try to run `GitDir.fromExisting(path)` and i get the following error: ``` flutter: ProcessException: /bin/sh: /opt/homebrew/bin/git: Operation not permitted flutter: Command: git rev-parse --git-dir ``` I'm running the command fine...
Does this library follows libgit2 or just a simple wrapper for reading git stats, not having actual source on the local device
I'm interested in using this for mobile and web if it can write to repos (`commit`, `push`, etc.). If I wanted to use this on Android or so, do I...
Can't be used when appsandbox is activated. Due too usage of dart process lib.
Hey! Thanks for a great tool. Having an ability to get commits ahead\behind would also be great. Rough implementation would be something like (`git_dir.dart`) ```dart static final RegExp _aheadRegExp =...
Hi, when accessing a commit's `commit.author` I get not only the author's name and email, but also the timestamp of the commit, which I don't want. E.g. on some commit...
The `commits` method currently tries to pull in all the commits of a repository since inception. This is very infeasible if the repository is very large, like the [Linux repository](https://github.com/torvalds/linux)....
I'm running `gitDir.getCommit()` using a hash that comes from `myBranch.sha`. I get the following error: ``` Unhandled exception: Bad state: No element #0 Iterable.single (dart:core/iterable.dart:552:25) #1 Commit._parse (package:git/src/commit.dart:56:53) #2 Commit.parse...