File: git-post-merge

package info (click to toggle)
gyoto 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 8,588 kB
  • sloc: cpp: 33,490; sh: 18,775; xml: 2,633; python: 1,424; makefile: 681; ansic: 314
file content (15 lines) | stat: -rwxr-xr-x 583 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
#
# Git does not preserve time stamps. This causes problems with files
# generated with the autotools ("automake" and "autoconf"), as
# generated files may seem older than source files and "make" will try
# to regenerate them.
#
# This script fixes time stamps of these generated files.
#
# To run this script automatically after every "git merge" or "git
# pull" invocation, copy it or link it as .git/hooks/post-merge .

touch aclocal.m4 plugins/*/aclocal.m4 configure plugins/*/configure Makefile.in */Makefile.in */*/Makefile.in */*/*/Makefile.in config.h.in

exit 0