This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
git
Watch
1
Star
0
Fork
0
You've already forked git
mirror of
https://github.com/git/git.git
synced
2024-11-18 17:13:55 +01:00
Code
55a716cc8c
git
/
git-log-script
3 lines
94 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add "git" and "git-log-script" helper scripts. The "git" script is just shorthand: "git xyz <args>" will just execute "git-xyz-script <args>", which is useful for people used to the CVS naming convention. So "git log" will run the new git-log-script, which is just a wrapper around the new pretty-printing git-rev-list. Cheesy.
2005-06-01 18:13:26 +02:00
#!/bin/sh
Make "git log" use the new git-rev-parse helper See the previous commit for explanations.
2005-06-13 19:07:25 +02:00
git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}
Copy Permalink