This website requires JavaScript.
Explore
Help
Sign In
development
/
git
Watch
1
Star
0
Fork
You've already forked git
0
mirror of
https://github.com/git/git
synced
2024-08-27 11:39:22 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
b155725dae
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 16:13:26 +00:00
#!/bin/sh
Make "git log" use the new git-rev-parse helper See the previous commit for explanations.
2005-06-13 17:07:25 +00:00
git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}
Reference in a new issue
Copy permalink