summary refs log tree commit diff stats
path: root/tinyc/stab.h
Commit message (Expand)AuthorAgeFilesLines
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
* tiny C support; cosmetic improvements for the docsAraq2010-08-281-0/+17
:36:02 -0800 committer Kartik K. Agaram <vc@akkartik.com> 2018-02-20 01:38:15 -0800 4211' href='/akkartik/mu/commit/snapshot_lesson?h=hlt&id=ba838feae98ad0e3a403429422bad3f6fa4367cc'>ba838fea ^
2c53c3d0 ^







1
2
3
4
5
6
7
8
9
10
11
12


                                                                            
      







                                                                     
#!/bin/sh
# Hacky little helper called from edit/ and sandbox/ apps to save a snapshot
# of lesson/ using git.
set -e

test -d lesson/.git || exit 0  # give up if it's not a git repo

cd lesson
# explicitly say '--all' for git 1.9
git add --all .
# bug in git: git diff -q messes up --exit-code
git diff HEAD --exit-code >/dev/null || git commit -a -m . >/dev/null