diff options
author | Brian Leung <leungbk@posteo.net> | 2021-09-26 12:51:27 -0700 |
---|---|---|
committer | Brian Leung <leungbk@posteo.net> | 2021-09-26 12:56:52 -0700 |
commit | d3d4534d878eb9ffafca7c5a50256e20f590ab51 (patch) | |
tree | ee7716518aa922eafc4aa9b92bc823910f493913 | |
parent | 44b437b1d6f8b4ac6720d56827e7d802eef7f59e (diff) | |
download | nixlib-d3d4534d878eb9ffafca7c5a50256e20f590ab51.tar nixlib-d3d4534d878eb9ffafca7c5a50256e20f590ab51.tar.gz nixlib-d3d4534d878eb9ffafca7c5a50256e20f590ab51.tar.bz2 nixlib-d3d4534d878eb9ffafca7c5a50256e20f590ab51.tar.lz nixlib-d3d4534d878eb9ffafca7c5a50256e20f590ab51.tar.xz nixlib-d3d4534d878eb9ffafca7c5a50256e20f590ab51.tar.zst nixlib-d3d4534d878eb9ffafca7c5a50256e20f590ab51.zip |
* repos/emacs/update: fetch more commits in git clone
If more than the specified amount of time has passed, then there is no tag, and nothing actually gets fetched here.
-rwxr-xr-x | repos/emacs/update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repos/emacs/update b/repos/emacs/update index 1b5104641de6..beba4b2eee6a 100755 --- a/repos/emacs/update +++ b/repos/emacs/update @@ -42,7 +42,7 @@ function update_github_repo() { function update_release() { echo emacs release - git clone --shallow-since="$(date --date='-6 month')" https://git.savannah.gnu.org/git/emacs.git emacs_git_repo + git clone --shallow-since="$(date --date='-9 month')" https://git.savannah.gnu.org/git/emacs.git emacs_git_repo tag=$(git -C emacs_git_repo tag -l --sort=-v:refname 'emacs-*' | grep -v '\-rc' | head -n1) rm -rf emacs_git_repo |