Skip to content

Commit

Permalink
add git-hash in get_update_date.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokumura committed Dec 12, 2024
1 parent f1c7b48 commit 70e5efd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 0 additions & 6 deletions exfor_trans.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,14 @@
####################################################################

import requests
import glob
import re
import os
import sys
import json
import shutil
import datetime
from git import (
Git,
Repo,
)
from zipfile import ZipFile
from bs4 import BeautifulSoup

import logging

logging.basicConfig(filename="process.log", level=logging.DEBUG, filemode="w")
Expand Down
3 changes: 2 additions & 1 deletion script/get_update_date.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ for file in ./exforall/*/*.x4
do
basename=`basename $file`
count=`git log --format='%aN' $file | wc -l`
echo ${basename:0:5} `git log -1 --pretty=format:%s $file` $count
hashobj=`git hash-object $file`
echo ${basename:0:5} `git log -1 --pretty=format:%s $file` $count $hashobj
done

0 comments on commit 70e5efd

Please sign in to comment.