On Thu, 29 Sep 2005, Linus Torvalds wrote:Ok, disabling "text flowing" seems to have fixed it. It still leaves empty spaces at the end of lines when doing normal word-wrapping in the editor (and then seems to use those empty spaces as a "marker" for flowing), but that's at least just a small silly detail. So how about this patch now? With it you can do git fetch --tags <linus-kernel-repo> and it should fetch all my tags automatically. Linus --- diff --git a/git-fetch.sh b/git-fetch.sh --- a/git-fetch.sh +++ b/git-fetch.sh @@ -5,6 +5,8 @@ _x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]' _x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40" +all= +tags= append= force= update_head_ok= @@ -17,6 +19,12 @@ do -f|--f|--fo|--for|--forc|--force) force=t ;; + --tags) + tags=t + ;; + --all) + all=t + ;; -u|--u|--up|--upd|--upda|--updat|--update|--update-|--update-h|\ --update-he|--update-hea|--update-head|--update-head-|\ --update-head-o|--update-head-ok) @@ -158,7 +166,16 @@ case "$update_head_ok" in ;; esac -for ref in $(get_remote_refs_for_fetch "$@") +taglist= +if [ "$tags$all" ]; then + pattern='/refs\/tags/' + if [ "$all" ]; then + pattern='/refs/' + fi + taglist=$(git-ls-remote "$remote" | awk "$pattern"' { print $2":"$2 }') +fi + +for ref in $(get_remote_refs_for_fetch "$@" $taglist) do refs="$refs $ref" - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Kamalesh Babulal | Re: 2.6.23-rc6-mm1 |
| Gabriel C | Re: 2.6.22-rc6-mm1 |
| Linus Torvalds | Linux 2.6.27 |
| Andi Kleen | [PATCH] [9/18] Export prep_compound_page to the hugetlb allocator |
git: | |
| Chris Ortman | [FEATURE REQUEST] git-svn format-patch |
| Francis Moreau | emacs and git... |
| Marco Costalba | [ANNOUNCE] qgit4 aka qgit ported to Windows |
| Johannes Schindelin | Re: git on MacOSX and files with decomposed utf-8 file names |
| Richard Stallman | Real men don't attack straw men |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Ted Unangst | Re: About Xen: maybe a reiterative question but .. |
| Richard Storm | MAXDSIZ 1GB memory limit for process |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Steve Glendinning | [PATCH] SMSC LAN911x and LAN921x vendor driver |
| Chas Williams (CONTRACTOR) | Re: [PATCH] firmware: convert Ambassador ATM driver to request_firmware() |
| Marcel Holtmann | Bluetooth fixes for 2.6.27 |
| How to make my PCIE ATA storage device running in Linux | 3 hours ago | Linux general |
| sata/ide timeout errors on asus server-mb | 7 hours ago | Linux kernel |
| Shared swap partition | 7 hours ago | Linux general |
| usb mic not detected | 12 hours ago | Applications and Utilities |
| Problem in Inserting a module | 12 hours ago | Linux kernel |
| Treason Uncloaked | 18 hours ago | Linux kernel |
| high memory | 3 days ago | Linux kernel |
| semaphore access speed | 3 days ago | Applications and Utilities |
| the kernel how to power off the machine | 3 days ago | Linux kernel |
| Easter Eggs in windows XP | 3 days ago | Windows |
