Ben Thayer

Results 55 comments of Ben Thayer

I'm not sure if you would find it worthwhile to a function that behaves like this: ``` repo = ... def rev_exists(ref): try: repo.git.rev_parse('--verify', ref) except git.exc.GitCommandError: return False return...

Seems like you're doing exactly what this algorithm does. I'll look into implementations tomorrow. https://en.m.wikipedia.org/wiki/HITS_algorithm

One implementation: ``` 'Working Directory': base: 'HEAD' 'Staging Area': base: 'Working Directory' ``` This one would set the contents of the working directory to be the same as commit `1`...

To start, implementing `files` for `Working Directory` and `Staging Area` would be the easiest.

I'm in favor of doing our own Levenshtein fuzzy matching, but I want to check a few things: 1. We do not implement it ourselves 1. Importing the module doesn't...

I guess we're halfway done. I think this would be a good issue for a newbie

Yeah, I think it'd be possible to have each level define its own hooks. I'm not sure which levels will want custom hooks and which will want generic hooks, so...

@e-leclercq Are you still interested in this?