A peaceful transition for Goa would have been far preferable. Look at how the Chinese got Hong Kong back: the advantages of continued trade with China far exceeded the annoyance that would have been incurred had the Brits tried to keep HK after the lease expired. The eventual peaceful transition was made possible because both China and Britain cultivated good informal relations with each other.
Sure Hong Kong was a smooth transition because the Brits let go easily and they had a formal document ending the lease.
Portugal had no intentions of ending its rule. It had rebuffed diplomatic overtures and taken a hardline position of no negotiation.
But of course you must know this, what is your reason to make correlation between these two conflicts. You just want to showcase Indian belligerence?
You are forgetting what the generals lack, for it necessarily is not part of their mission: vision. It's for the civilian leadership to set the task and the military to achieve it. Letting blind enforcement of sovereignty claims dictate hostility is to let the tail wag the dog.
No Indian general has had a say ever on politics. The vision has always been civilians, with the implementation delegated to the military.
You are confusing India and Pakistan here I think, cases in point- Haji Pir pass and execution of Kargil war within political guidelines.
The vision of civilians to resolve Kargil is already there, the execution has been the contention.