Skip to content

Instantly share code, notes, and snippets.

@bewest
Last active October 10, 2015 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bewest/35cb128a55dea6fb2ea3 to your computer and use it in GitHub Desktop.
Save bewest/35cb128a55dea6fb2ea3 to your computer and use it in GitHub Desktop.
pi@raspberrypi ~/backup/instance $ git fsck --full
Checking object directories: 100% (256/256), done.
Checking objects: 100% (3188/3188), done.
broken link from tree bb5704ea15f42334d8cd690f161d39a4d3fb396b
to blob 4bfca8f46780872998489a8034e47471e16dbfb2
missing blob 4bfca8f46780872998489a8034e47471e16dbfb2
pi@raspberrypi ~/backup/instance $ git show ls-tree bb5704ea15f42334d8cd690f161d39a4d3fb396b
fatal: ambiguous argument 'ls-tree': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
pi@raspberrypi ~/backup/instance $ git ls-tree bb5704ea15f42334d8cd690f161d39a4d3fb396b
100644 blob 1c0dbd2eb66bee906114624481704deb26bcc9df active-basal-profile.json
100644 blob 0efc1030cf18ee1c172d16ed63393b55818e2209 battery.json
100644 blob 6c295fb1f7816b38dc3959f1055eb6bc3c0517c8 bg-targets.json
100644 blob c340f333d9b60e1c7bd8ad97e870f0cf8cd0f2ce carb-ratios.json
100644 blob 4bfca8f46780872998489a8034e47471e16dbfb2 clock.json
100644 blob b646df5ff5d30b1f3fcf49a3c1e3252a8dc7d483 glucose.json
100644 blob 028fc39fb3fc7b01e4b33a8b3dc6ac56fc6f2bbb insulin-sensitivities.json
100644 blob 2425befc73ce30efe807998a48427844ef672585 pump-history.json
100644 blob d7028213c67906641c2a3e9790f38c94bfb5d287 reservoir.json
100644 blob f8753a45b06914800a8a6f78ba408e48ad937a07 settings.json
100644 blob 557b2e011f3765ed756f39ae8b5d9210a914edd7 status.json
100644 blob 1a0a0637bbf23a095e87868b13c392ceb2ef6381 temp-basal-status.json
pi@raspberrypi ~/backup/instance $ git hash-object -w monitor/clock.json
a4c83efefcb5b0ac1305ada0acfef9688c35cab8
pi@raspberrypi ~/backup/instance $ git log --raw -all --full-history -- monitor/clock.json
fatal: unrecognized argument: -all
pi@raspberrypi ~/backup/instance $ git log --raw --all --full-history -- monitor/clock.json
commit 51573bda6662f421519a7cef4ee4022457aa7940
Author: Ben West <bewest@gmail.com>
Date: Wed Oct 7 14:55:08 2015 -0700
openaps-report invoke monitor/glucose.json
openaps-report invoke monitor/glucose.json
TODO: better change descriptions
/usr/local/bin/openaps-report invoke monitor/glucose.json
/usr/local/bin/openaps-report invoke monitor/glucose.json
diff --git a/monitor/clock.json b/monitor/clock.json
index 9ae98ff..4965467 100644
--- a/monitor/clock.json
+++ b/monitor/clock.json
@@ -1 +1 @@
-"2015-10-07T13:51:52"
\ No newline at end of file
+"2015-10-07T14:51:59"
\ No newline at end of file
diff --git a/monitor/pump-history.json b/monitor/pump-history.json
index 09ceccf..2425bef 100644
--- a/monitor/pump-history.json
+++ b/monitor/pump-history.json
@@ -1,5 +1,169 @@
commit d3de072596be0f8d8ac84834fad19f8f024c9e1c
Author: Ben West <bewest@gmail.com>
Date: Wed Oct 7 16:46:13 2015 -0700
openaps-report invoke monitor/clock.json monitor/pump-history.json monitor/active-basal-profile
TODO: better change descriptions
/usr/local/bin/openaps-report invoke monitor/clock.json monitor/pump-history.json monitor
:100644 100644 c610a6c... a8ac0d0... M monitor/clock.json
commit bb9f912f4c0a57b7fd72b872fc490084e5126f69
Author: Ben West <bewest@gmail.com>
Date: Wed Oct 7 16:41:15 2015 -0700
openaps-report invoke monitor/clock.json monitor/pump-history.json monitor/active-basal-profile
TODO: better change descriptions
/usr/local/bin/openaps-report invoke monitor/clock.json monitor/pump-history.json monitor
:100644 100644 4bfca8f... c610a6c... M monitor/clock.json
commit e225b44f194529ca3d28a84b205da7851bf75dd6
Author: Ben West <bewest@gmail.com>
Date: Wed Oct 7 16:40:11 2015 -0700
openaps-report invoke monitor/glucose.json
TODO: better change descriptions
/usr/local/bin/openaps-report invoke monitor/glucose.json
:100644 100644 4965467... 4bfca8f... M monitor/clock.json
commit 51573bda6662f421519a7cef4ee4022457aa7940
Author: Ben West <bewest@gmail.com>
Date: Wed Oct 7 14:55:08 2015 -0700
openaps-report invoke monitor/glucose.json
TODO: better change descriptions
/usr/local/bin/openaps-report invoke monitor/glucose.json
:100644 100644 9ae98ff... 4965467... M monitor/clock.json
commit d891bc512f59cf92b1f3901006c621cd6773f46f
Author: Ben West <bewest@gmail.com>
Date: Wed Oct 7 13:55:08 2015 -0700
@bewest
Copy link
Author

bewest commented Oct 10, 2015


pi@raspberrypi ~/backup/instance $ git cat-file blob c610a6c && echo
"2015-10-07T16:40:32"
pi@raspberrypi ~/backup/instance $ git cat-file blob 4bfca8f && echo
fatal: Not a valid object name 4bfca8f
pi@raspberrypi ~/backup/instance $ git cat-file blob 4965467 && echo
"2015-10-07T14:51:59"
pi@raspberrypi ~/backup/instance $ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment