projects
/
iron-blogger
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82e2033
)
reset the ledger after the dry run to the latest git version
author
Benjamin Mako Hill
<mako@atdot.cc>
Mon, 14 Nov 2011 21:30:51 +0000
(16:30 -0500)
committer
Benjamin Mako Hill
<mako@atdot.cc>
Mon, 14 Nov 2011 21:30:51 +0000
(16:30 -0500)
weekly-update.py
patch
|
blob
|
history
diff --git
a/weekly-update.py
b/weekly-update.py
index acfc17bb8c0d67a760467e6e197e1cf4f28e9ed1..06d85182d84c5cbf127967e0f76837fa970baf62 100755
(executable)
--- a/
weekly-update.py
+++ b/
weekly-update.py
@@
-83,3
+83,7
@@
if punt:
subprocess.check_call(["git", "commit", "ledger", "bloggers.yml",
"-m", "Punts for %s" % (today,)])
+
+# if it's a dry run, lets set the ledger back to the beginning state
+if dry_run:
+ subprocess.check_call(["git", "checkout", "ledger"])
Benjamin Mako Hill
||
Want to submit a patch?