git-sanity 0.0.1 → 0.0.2
raw patch · 2 files changed
+2/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- git-sanity.cabal +1/−4
- src/Main.hs +1/−1
git-sanity.cabal view
@@ -1,8 +1,5 @@--- Initial git-sanity.cabal generated by cabal init. For further --- documentation, see http://haskell.org/cabal/users-guide/- name: git-sanity-version: 0.0.1+version: 0.0.2 synopsis: A sanity checker for your git history. description: This tool allow you sanity check the history of local git repository.
src/Main.hs view
@@ -21,7 +21,7 @@ , "When no <revision range> is specified, it defaults to HEAD (i.e. the whole history leading to the current commit)." , "" , "In order to integrate nicely as a pre-push githooks (http://git-scm.com/docs/githooks.html),"- , "a <revision range> of 'origin/$branch..HEAD'[1] can be used to specifies all the commits reachable from the current commit (i.e. HEAD), but not from origin."+ , "a <revision range> of 'origin/$branch~1..HEAD'[1] can be used." , "" , "[1] Where 'branch' is a variable defined as 'branch=$(git symbolic-ref --short HEAD)'" ]