dot

packages and services management
Log | Files | Refs | README

commit efffc8f9f932a1b853697523079672e313430466
parent 6a42f32af7921877e8bfc3d5099bed8e505616bb
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri, 17 Nov 2017 15:44:42 +0100

tell how to clone

Diffstat:
Mbin/dot | 1-
Mbin/git-index | 7+++++--
Mdot/gitconfig | 4++--
3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/bin/dot b/bin/dot @@ -17,7 +17,6 @@ mkdir -p "$HOME/src" mkdir -p "$HOME/tmp" mkdir -p "$HOME/usr/etc" mkdir -p "$HOME/var/cache" -mkdir -p "$HOME/var/git" mkdir -p "$HOME/var/irc" mkdir -p "$HOME/var/log" mkdir -p "$HOME/var/mail/INBOX/cur" diff --git a/bin/git-index b/bin/git-index @@ -8,14 +8,17 @@ HEADER='<!doctype html> <meta charset="utf-8"/> <style> pre { float: left; margin: 4em 0 4em 4em; } </style> <pre> -<h1><a href="..">&lt;</a> '$NAME'</h1>' +<h1><a href="..">&lt;</a> '$NAME'</h1> +$ GIT_SMART_HTTP=0 git clone '$NAME'' + export LC_COLLATE=C { printf '%s\n' "$HEADER" git -C "$1" ls-tree -r --name-only master | sort | pree printf '</pre><pre>\n' - git -C "$1" log --graph --format='%H %cd %cn <%ce>%n%s%n' | + git -C "$1" log --date=short --graph \ + --format='%H %cd %cn <%ce>%n%s%n' | sed -r -e 's|&|\&amp;|g' \ -e 's|<|\&lt;|g' \ -e 's|([0-9a-f]{8})[0-9a-f]{32}|<a href="commit/&.html">\1</a>|' diff --git a/dot/gitconfig b/dot/gitconfig @@ -3,8 +3,8 @@ name = Josuah Demangeon [alias] - graph = log --graph --date=short --decorate --tags --branches --remotes \ - --stat + graph = log --graph --date=short --decorate --tags --branches \ + --remotes --stat poule = pull [core]