project-stats

keep track of your projects
git clone https://git.ce9e.org/project-stats.git

commit
0f6103d1896e6b5ef427aca94569f6f04bdfd1ee
parent
676f0ee8788261a4f9077b67bb960f5decadc916
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2015-03-22 14:58
expand relative local paths

Diffstat

M projects.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/projects.py b/projects.py

@@ -256,7 +256,7 @@ def get_local(path):
  256   256     tail = git('rev-list', 'HEAD').splitlines()[-1]
  257   257 
  258   258     return {
  259    -1         'name': os.path.basename(path.rstrip('/')),
   -1   259         'name': os.path.basename(os.path.abspath(path)),
  260   260         'file_count': len(git('ls-files').splitlines()),
  261   261         'unstaged_changes': 'Changes not staged for commit' in git('status'),
  262   262         'uncommited_changes': 'Changes to be committed' in git('status'),