-
- Downloads
why3session info : add --edited-files option which
print all the edited files which appear in the session. In conjonction with --print0 which prints '\000' instead of '\n' that give a safe way to "git add" all the edited files of a session: why3session info --edited-files --print0 vstte12_bfs.mlw |xargs -0 git add Since why3session accept the why3session.xml (it uses the basename as session directory) you can add all the edited file of all the session saved in a git repository with: git ls-files -z |grep -z -e "why3session.xml$" |xargs -0 why3session info --edited-files --print0 | xargs -0 git add
Showing
- src/session/session.ml 3 additions, 0 deletionssrc/session/session.ml
- src/session/session.mli 3 additions, 0 deletionssrc/session/session.mli
- src/util/pp.ml 1 addition, 0 deletionssrc/util/pp.ml
- src/util/pp.mli 1 addition, 0 deletionssrc/util/pp.mli
- src/why3session/why3session_info.ml 15 additions, 1 deletionsrc/why3session/why3session_info.ml
Please register or sign in to comment