git-history icon indicating copy to clipboard operation
git-history copied to clipboard

Tools for analyzing Git history using SQLite

Results 25 git-history issues
Sort by recently updated
recently updated
newest added

Discussed in https://github.com/simonw/git-history/discussions/50 I think I had two problems here, but they might be related: 1. `commit.tree.blobs` was `[]` here. I changed this to use the `tree['filename']` [notation](https://gitpython.readthedocs.io/en/stable/reference.html#git.objects.tree.Tree) 2. my...

In this example: I don't think `latitude` and `longitude` should be populated as they have not changed between records (unlike `units`). This is from a demo database built against https://github.com/simonw/scrape-san-mateo-fire-dispatch...

bug

Causes error: ``` > git-history file results.db results.json --id unique_id --full-versions Traceback (most recent call last): File "/home/codespace/.local/bin/git-history", line 8, in sys.exit(cli()) File "/home/codespace/.local/lib/python3.8/site-packages/click/core.py", line 1128, in __call__ return self.main(*args,...

I was running essentially `git-history file data/pipelines.db data/pipelines.json` and getting empty databases. Iterating over `commit.tree.blobs` only looks for files in the top level directory. Since my data was nested, I...

Hi @simonw – thanks so much for this awesome tool! I am working on an analytics project for a dataset managed as a JSON file in an OSS Github repo...

Prototype: ```diff diff --git a/git_history/cli.py b/git_history/cli.py index f3a4c40..83f988e 100644 --- a/git_history/cli.py +++ b/git_history/cli.py @@ -117,6 +117,11 @@ def cli(): is_flag=True, help="Debug mode", ) [email protected]( + "_pdb", "--pdb", + is_flag=True, +...

enhancement

Using this thread to collect them - not yet decided if I'll turn these into live demos or just have a piece of documentation suggesting people try these out.

documentation

Might be neat to store it in case people forget to note down what they used.

enhancement

I have an extensive xml file. It contains an xsd definition from which I generated an xml parser and class definitions via [generateDS](http://www.davekuhlman.org/generateDS.html). Now I want to use it in...

enhancement
question

> I couldn't get this to work, and I have a hunch it may be because that repository uses branches and doesn't have a linear history: ``` git-history file iam.db...

research