1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00
falkonOfficial/git_hooks
Marti Martz c0026af63e Use rev-parse instead of show-ref (#1958)
* Use `rev-parse` instead of `show-ref`

* Dev builds currently use masters commit ref and makes it difficult to determine which version is really installed with About → Help. Use the current HEAD when generating the `Makefile`s for `DGIT_REVISION`

**NOTES**
* The bash scripts are somewhat duplicated with the unused `--short` parameter but omitted at this time in case a long hash is wanted.
* `make distclean` is still needed since those defines are hard-coded into those affected `Makefile`s

* Keep current abstract as per @nowrep

* Remove some known unneeded bash pipes
2016-04-25 12:53:03 +02:00
..
hooks-install.sh [git-hooks] New hook for checking copyright year. 2013-01-22 23:30:59 +01:00
post-checkout Use rev-parse instead of show-ref (#1958) 2016-04-25 12:53:03 +02:00
post-commit Use rev-parse instead of show-ref (#1958) 2016-04-25 12:53:03 +02:00
post-merge Use rev-parse instead of show-ref (#1958) 2016-04-25 12:53:03 +02:00
pre-commit [git-hooks] New hook for checking copyright year. 2013-01-22 23:30:59 +01:00
README Updated Spanish + Portuguese translation. 2012-01-30 17:18:10 +01:00

Git hooks that writes current git revision into git_revision file that is afterwards used to show revision in program in About dialog.

Install these hooks by running hooks-install.sh script (copy into .git/hooks/ directory)