[asterisk-dev] testing zaptel vs. git kernel tree (git help wanted)

Paolo Ornati ornati at fastwebnet.it
Sun Dec 30 03:00:17 CST 2007


On Sun, 30 Dec 2007 02:08:14 +0200
Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:

> 
> 
> Sadly it seems I don't understand well how to work with tags in git.
> After switching to an older tag I get plenty of "modified" files and I 
> get strange build errors. So I'd appreciate someone with some experince
> with git to give this script a sanity check.
> 


	setver)
		kernel_ver="$2"
		tag="v$kernel_ver"
		cd "$kernel_dir"
		git-checkout $tag .


Just use:
	git-reset --hard $tag

instead of:
	git-checkout $tag .

-- 
	Paolo Ornati
	Linux 2.6.24-rc6-gc68cb23d on x86_64



More information about the asterisk-dev mailing list