Commit 620c293
Makefile: split GIT_USER_AGENT from GIT-CFLAGS
The default user-agent depends on the GIT_VERSION, which
means that anytime you switch versions, it causes a full
rebuild. Instead, let's split it out into its own file and
restrict the dependency to version.o.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 47eb28e commit 620c293
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1922 | 1922 | | |
1923 | 1923 | | |
1924 | 1924 | | |
1925 | | - | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
1926 | 1930 | | |
1927 | 1931 | | |
1928 | 1932 | | |
| |||
1987 | 1991 | | |
1988 | 1992 | | |
1989 | 1993 | | |
| 1994 | + | |
1990 | 1995 | | |
1991 | | - | |
| 1996 | + | |
| 1997 | + | |
1992 | 1998 | | |
1993 | 1999 | | |
1994 | 2000 | | |
| |||
2710 | 2716 | | |
2711 | 2717 | | |
2712 | 2718 | | |
| 2719 | + | |
2713 | 2720 | | |
2714 | 2721 | | |
2715 | 2722 | | |
| |||
0 commit comments