This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
git
Watch
1
Star
0
Fork
You've already forked git
0
mirror of
https://github.com/git/git.git
synced
2024-11-06 09:13:01 +01:00
Code
Activity
170774a39d
git
/
git-log-script
3 lines
94 B
Text
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