Browse Source

moved git2json code

Schultz 8 years ago
parent
commit
457b580a86
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      gitstats

+ 5
- 2
gitstats View File

1306
         f.close()
1306
         f.close()
1307
 
1307
 
1308
 
1308
 
1309
-        # execute git2json for top files
1310
-        os.system("git2json | ~"+os.path.abspath(args[-1])+"/top_committed_files.json")
1309
+        
1311
 
1310
 
1312
 
1311
 
1313
 
1312
 
1582
             sys.exit(0)
1581
             sys.exit(0)
1583
 
1582
 
1584
         outputpath = os.path.abspath(args[-1])
1583
         outputpath = os.path.abspath(args[-1])
1584
+
1585
+        # execute git2json for top files
1586
+        os.system("git2json | ~"+os.path.abspath(args[-1])+"/top_committed_files.json")
1587
+        
1585
         rundir = os.getcwd()
1588
         rundir = os.getcwd()
1586
 
1589
 
1587
         try:
1590
         try: